RadEditor

Posted by Community Admin on 03-Aug-2018 23:33

RadEditor

All Replies

Posted by Community Admin on 22-Nov-2010 00:00

How do I set the buttons that are available in the toolbar or add custom buttons?  In 3.7 I could edit the ToolsFile.xml file but I don't see that option in 4.0.

Posted by Community Admin on 23-Nov-2010 00:00

Hi Shawn,

You can set a custom ToolsFile for the RadEditor control as shown in this post or create  new EditorConfigurations from Sitefinity/Administration/Settings/Advanced/Appearance where you can use

MinimalEditorConfiguration or StandardEditorConfiguration a a key and the value should be the path to your tools xml file.

Sincerely yours,
Ivan Dimitrov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 23-Nov-2010 00:00

I set both properties to a file path but I'm receiving an error.  It's looking for an embedded resource in a Sitefinity assembly.  I tried changing the xml files to embedded resources but it still didn't work.  Config entry and error are attached.  Am I missing something?

Posted by Community Admin on 24-Nov-2010 00:00

Hi Shawn,

Ok, it looks like you have to use the custom xml file configuration

The ContentBlock control has a public property - LayoutTemplatePath which you can use to set map an external template and change some of the properties that HtmlField control expose. HtmlField wraps RadEditor control that ContentBlock uses.

sample

<sf:HtmlField
      ID="htmlEditor"
      runat="server"
      Width="99%"
      Height="370px"
      DisplayMode="Write"
      EditorToolsConfiguration="Custom"
      EditorConfigurations="~/test.xml"
      >
  </sf:HtmlField>



Best wishes,
Ivan Dimitrov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 24-Nov-2010 00:00

Will there be an easier way implemented in the official release?  I would like to change the toolbar across the board and it would be a pain to map external templates for every content type that uses the RadEditor. 

Posted by Community Admin on 24-Nov-2010 00:00

Hello Shawn,

Form Sitefinity/Administration/Settings/Advanced

Toolboxes >> Toolboxes >> PageControls >> Sections >> ContentToolboxSection >>Tools >>ContentBlock you can set a template for all instances of this control. We have already logged a task for extending this functionality.


Best wishes,
Ivan Dimitrov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed