The value must correspond to the first font name in the configuration string. create( document.querySelector( '#editor' ), ) You can enable support for all font names by using the option. # Accepting all font namesīy default, all font-family values that are not specified in the are stripped. This text has the "Ubuntu Mono, Courier New, Courier, monospace" font family set. This text has the "Ubuntu, Arial, sans-serif" font family set. FontBackgroundColor – Control the font background color by applying inline elements with a background-color in the style attribute.FontColor – Control the font color by applying inline elements with a color in the style attribute.FontSize – Control the font size by applying inline elements that either have a CSS class or a font-size in the style attribute.FontFamily – Change the font family by applying inline elements with a font-family in the style attribute.The plugin enables the following features in the rich-text editor: Different font colors can work as markers and guides just like font background colors that stand out even more and draw attention. Using different font families can help differentiate between sections of the content that serve various purposes (like main text and a side quotation or a recap). You can apply the font size setting globally or to a selected part of the text to make it catch the eye of the reader. The font styles, just like the basic text styles, can serve many purposes. Visit the feature-rich editor example to see more in action. This demo presents a limited set of features. You can also use it for information you don't want to expose too much. Small text can provide some optional details. Large text is used for important information that really needs to stick out. Text size also plays an important role in driving the reader's attention. You may use custom text and background colors to create infoboxes or quotations. A properly chosen set, however, will greatly improve text visibility and readability and may be used to aid accessibility. You should use them with caution, though, as similar colors may lead to unreadable results. Monospaced fonts, like Courier, are associated with computer terminals and are often used to represent code listings and machine printouts.įont colors and background colors are used to draw attention to parts of the text. The basic print text is black on white, but modern printing techniques and electronic media have made room for more diverse colors in documents. Serif font families are traditionally used in print media, making reading from paper easier. Sans-serif fonts, like Arial or Verdana, are universally used in electronic publications intended to be read on-screen. Several OpenType features are provided as well, like contextual alternates that adjusts punctuation depending on the shape of surrounding glyphs, slashed. Inter features a tall x-height to aid in readability of mixed-case and lower-case text. Font faces, sizes, and colors may radically change the way the reader perceives your content. Inter is a variable font family carefully crafted & designed for computer screens. But how you do it also plays a great role. The message you want to convey is the most important part of any document.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |