Exercise 5.1 (Optional): Set up the Rich Text editor
Last updated
Last updated
In this exercise you’ll learn how to set up the rich text editor.
Make sure you’re logged in as a user with the role that allows editing of text formats.
Go to Configuration → Content authoring → Text formats and editors.
Click the Configure link in the Operations column next to Rich text.
Review the Roles section, which allows you to configure the roles allowed to access Rich text format.
The Toolbar configuration allows you to manage editor buttons/plugins.
As a rule, give users as few buttons as possible, for as long as possible.
The CKEditor plugin settings allow you to configure some additional options, such as Embed Media.
Check the Enabled filters section.
Note that the Limit allowed HTML tags and correct faulty HTML option is selected. It’s important to keep this options enabled for increased security.
If additional HTML tags are required to be supported, update the Allowed HTML tags field with the tags that you need. Avoid whitelisting the <script> tag, since it may introduce a backdoor to malicious scripts.
The Filter processing order section allows you to arrange the execution order of filters. Avoid modifying the default order unless necessary.
Now you can test the editor out by creating a new Page.
Add some text, and then make it bold. Also try adding a list, an image and a link.
Tip: You can get some sample images at Dynamic Dummy Image Generator: http://dummyimage.com/
Click Save.
See how your page looks. Is the page being displayed as you expected?