Umbraco: Enable Blockquotes in Tinymc Richtext Editor

Here is how to enable Blockquotes in Umbraco Tynymce Rich Text Editor:

1) In the folder "config" there is a file called "tinyMceConfig.config".

Add the following lines in the <command> section:

<command>
<umbracoAlias>Blockquote</umbracoAlias>
<icon>images/editor/quote.gif</icon>
<tinyMceCommand value="" userInterface="false" frontendCommand="blockquote">blockquote</tinyMceCommand>
<priority>45</priority>
</command>

Note: the line highlighted  points to an image that the user will see.  In my install this was a stop sign!  You may want to overwrite the file with something more appropriate (such as a quote).

2) In Umbraco, goto --> Developer --> Data Types --> RichtextEditor and tick the tick box for the Blockquotes.

The end user should now have blockquote functionality in there richtext editor.


Comments

Post a Comment

Popular posts from this blog

Umbraco - Reset the Admin Password via SQL Server

Create a .NET Contact Form that Gets the Last Url Visited in C# Can also be Used in Umbraco

Umbraco Macro for IFrame when Embedding Video, Vimeo Universal Player, or other types of IFrame on to a Page XSLT version and Razor Version