![]() ![]() Only these classes have default styles added to them"). Rich Text fields give you a Redactor-powered WYSIWYG editor, which stores HTML. "To customize the font colors, add a span around the text to be emphasized and use class 'pink-text' or class 'blue-text' to determine the color of the font. ![]() To take this route and provide some clarity to those editing the content, we could add text as instructions to the field if necessary (i.e. This would require a basic level of knowledge about html but also specific knowledge about which classes are set up to add the desired styling. Installation: Install via Craft Plugin Store or directly with Composer (see Documentation) Add 'redactoranchors' to your Redactor config. Never having had to do this before, the simplest and most obvious choice was to use the redactor field to add custom classes to spans around the text. 1 Answer Sorted by: 3 You can use JavaScript to edit the Redactor settings, but the correct answer here is to add the settings with JSON config files. Add anchor functionality for Reactor in Craft CMS. This text and custom styling would be able to be used in the middle of paragraphs of text, removing the option to use a plain text field to individualize colors by inserting them as headlines or other elements that have locked-in control. redactor:/var/www/html/config/redactor environment: DEPENDENCIES: >- additional composer packages (must be comma. Documentation Knowledge Base Plugin Store Craft ID Hosting Craft in the Field Support Accessibility Blog Partners Knowledge Base Find answers, solve problems, and level-up. Recently, a customer asked for a site that needed the ability to add custom styling beyond the basics - multiple custom font colors to emphasize specific text on their site. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |