Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sitecore Rich Text Html Editor Profile - set global default

OK I can't believe this can't be found anywhere so I'm asking the question.

Is there a way to set the default Html Editor Profile in Sitecore so I don't have the override the Source field on each individual Rich Text field?

e.g. I want to make this the default option for the Html editor:

/sitecore/system/Settings/Html Editor Profiles/Rich Text Medium
like image 586
misteraidan Avatar asked Mar 22 '10 04:03

misteraidan


2 Answers

Its an old question but here is the solution I found in Sitecore 6.5 - I was looking to do the same thing in 6.5:

You can change the value to the path of your default editor in the web.config. This will change is across all fields where the source is not defined.

<!--  HTML EDITOR DEFAULT PROFILE
      Path to the default html editor profile.
      Default value: /sitecore/system/Settings/Html Editor Profiles/Rich Text Default
-->
<setting name="HtmlEditor.DefaultProfile" value="/sitecore/system/Settings/Html Editor Profiles/Rich Text Default"/>
like image 85
MattyC Avatar answered Oct 24 '22 10:10

MattyC


It seems to fall back to the "/sitecore/system/Settings/Html Editor Profiles/Rich Text Default" in case the source is not defined. Thus, if you try to modify this default profile, every RTE field will obtain these modifications by default, without specifying the source.

Never tried it myself, though...

like image 42
Yan Sklyarenko Avatar answered Oct 24 '22 10:10

Yan Sklyarenko