Add Blockquotes to TinyMCE

Posted 06 January 2017 by Darren Welch

Umbraco uses TinyMCE as the Rich text editor.  

 

By default it doesn't allow the user to add blockquotes.  If you'd like to enable this functionality within your Umbraco project you will need to amend the tinyMceConfig.config.  

 

Add:

 

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

 

Now you will need to enable it on the RichtextEditor. To do this, go to:

 

  • Developer
  • Data Types
  • RichtextEditor
  • Tick the tickbox for blockquotes.

 

Your users will now be able to see this as an option in their richtexteditor.

 

If for some reason they can't, you could try restarting your app_pool.  If your website is on a shared server and this is not an option.  You can make a change to the web.config and save it.  This will force your website to refresh all of your files.





Darren Welch

By

Darren Welch


  06 January 2017


Contact me online

Advertisment


Tags


computing razor html umbraco

Has this helped?


If this has saved you time and you are feeling generous, why not buy me a coffee.

Thank You cup of coffee

Related Content




Accessing Umbraco 8 Saving Events

11 Apr 2019




How to create your own custom property editors in Umbraco

19 Nov 2018




ngIf and ngElse

03 Nov 2017