Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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.
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
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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.
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
is working on a reply...