Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rob Allen 2 posts 22 karma points
    May 28, 2014 @ 06:13
    Rob Allen
    0

    code samples in tinymce rich text editor

    I'm trying to add code samples to the rich text editor (tinymce) in Umbraco.  I've tried several different ways with limited success.  What is the best practice surrounding this?  I'd prefer something like we use on stack overflow. 

     

    Also, I'd like to implement the full featured edition as shown here http://www.tinymce.com/tryit/full.php

    I've tried changing the settings in umbraco.controllers.js but that doesn't seem to help.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    May 28, 2014 @ 09:03
    Jan Skovgaard
    0

    Hi Rob

    In most cases it should not be neccessary to change the umbraco.controllers.js.

    You simply just need to add things in the /config/TinyMceConfig.config.

    You can find some useful links containing information about it in this post from a couple of days ago http://our.umbraco.org/forum/developers/extending-umbraco/53150-How-to-add-custom-button-to-RTE

    Especially the blog from Niklas Gavelin I think since it's from novemeber last year and seems to be the most recent ressource.

    Hope this is what you're looking for.

    Cheers, Jan

Please Sign in or register to post replies

Write your reply to:

Draft