November 29, 2010

Richtext Editor - Add code snippet or html templates

The code snippets allow the user to add easily a preformatted code. This method can be an easy way to insert a sort of template in a text zone.

In the core database:

    * go to the item /sitecore/system/Settings/Html Editor Profiles/Rich Text Full/Snippets
    * Insert a new item of type /sitecore/templates/System/Html Editor Profiles/Html Editor Snippet
    * In the header type the name you want
    * In the value type your html code to insert

The user can now add the snippets via this button:

No comments:

Post a Comment