5321 Posts in 1594 Topics by 1166 members
Page: 1 2
|Go to End||Next >|
5 March 2009 at 12:44pm Last edited: 6 March 2009 12:16pm
Hi, I've been trying to alter the tinymce in 2.3 using the documentation in various places in the forums and docs. It seemed to me that changing values in HtmlEditorField.php should affect the toolbar in the editor (it did work in previous sites on older versions of SS), but even if I comment out most of the toolbar stuff in HtmlEditorField.php there are no changes in the toolbar.....so where is this configured if not in HtmlEditorField.php???
Really need help on this please!
5 March 2009 at 2:10pm
5 March 2009 at 3:37pm
Thanks Sam, what I'm trying to do is change the label values on the 'FormatSelect' (ie Header1, Header2 etc), I thought this was controlled by HtmlEditorField.php. If not, where is this controlled?
5 March 2009 at 5:27pm
HtmlEditorField.js - I recommend that you look at the TinyMCE documentation. The stuff in HtmlEditorField.php is legacy code and should be ignored.
6 March 2009 at 12:13pm
I checked TinyMCE's docs and just added this line to tiny.mce.template.js:
theme_advanced_blockformats : "Page Title=h1;Blue Sub Heading=h2;Green Sub Heading=h3;Body Text Bold+2=h4;Body Text=p",
works a treat!
11 March 2009 at 5:08am
Is it safe to submit a patch to remove the portions of HtmlEditorField.php code (such as the Buttons method) that are unused by the CMS?
24 May 2009 at 10:07pm
Can a developer plz add a function (argument ...) to HtmlEditorField.php to change the Toolbar in php code?
25 May 2009 at 5:49pm
SunboX - to request an api change or a feature please make a ticket on open.silverstripe.com
Page: 1 2
|Go to Top||Next >|