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 Razor Sort Nodes Ascending or Descending

Umbraco Razor get Querystring

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