Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

i/6636: Prefix font styles with the .ck-content class. #63

Merged
merged 5 commits into from
Apr 22, 2020
Merged

Conversation

panr
Copy link
Contributor

@panr panr commented Apr 21, 2020

Suggested merge commit message (convention)

Fix: Font size styles should be prefixed by the .ck-content class. Closes ckeditor/ckeditor5#6636.

@panr panr requested a review from oleq April 21, 2020 11:20
@coveralls
Copy link

coveralls commented Apr 21, 2020

Coverage Status

Coverage remained the same at 100.0% when pulling 01cdfc8 on i/6636 into 83a7711 on master.

Copy link
Member

@oleq oleq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes in the guide are necessary https://github.com/ckeditor/ckeditor5-font/blob/i/6636/docs/features/font.md#L97-L111.

Note: You shouldn't use PostCSS syntax there in docs, these are for integrations that may or may not use it.

@panr
Copy link
Contributor Author

panr commented Apr 21, 2020

@oleq thanks for pointed it out! Changed. 👍

@panr panr requested a review from oleq April 21, 2020 16:32
@oleq oleq merged commit b0b06db into master Apr 22, 2020
@oleq oleq deleted the i/6636 branch April 22, 2020 07:21
.text-tiny {
font-size: .7em;
}
/* The values should be synchronized with the "FONT_SIZE_PRESET_UNITS" object in the "/src/fontsize/utils.js" file. */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line was removed in 2f33bed and as I can see, it appeared again :D

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it is unnecessary, please get rid of it on master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Font size styles (.text-*) do not use .ck-content prefix
4 participants