21493 Posts in 5784 Topics by 2622 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 3889 Views |
-
tinymce font color

23 January 2009 at 9:06am
Hi, I am at this problem again : would like to add font color chooser / picker to tinymce on 2.2.3. Of course I would love to use 2.3 but not sure to be able to migrate my site
I have hacked the saphire/forms/HtmlEditorField.php , added a line after line 298
new HtmlEditorField_button("forecolorpicker","forecolorpicker",_t('HtmlEditorField.FORECOLOR', "Couleur")),
that picks up to colorpicker, but when I click apply, I get a javascript error from editor_template_src.js (line352)
n is null
[Break on this error] img = tinyMCE.selectNodes(document.g...on(n) {return n.nodeName == "IMG";})[0];can anybody sort this out ? we're close
E.
-
Re: tinymce font color

28 January 2009 at 6:10am
Why you creating a color picker? There is an easier way...
Have a look at the plugin that has been created @ http://tinymce.moxiecode.com/punbb/viewtopic.php?id=4933
| 3889 Views | ||
|
Page:
1
|
Go to Top |

