Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi all.
I am creating a custom section in Umbraco 4.6.1, where I need to use the tinyMCE editor for some content. I have searched this forum like crazy, but not found anything useful.
TabPage tab = ItemTabView.NewTabPage("Content"); tab.Menu.NewElement("div", "tinymce_toolbar", "tiny-mce", 0); DataTypeDefinition dataTypeDefinition = DataTypeDefinition.GetDataTypeDefinition(-87);umbraco.editorControls.tinyMCE3.TinyMCE editor = (umbraco.editorControls.tinyMCE3.TinyMCE)dataTypeDefinition.DataType.DataEditor;if (editor.config["umbraco_toolbar_id"] != null) { editor.config.Remove("umbraco_toolbar_id");} editor.config.Add("umbraco_toolbar_id", "tinymce_toolbar"); tab.Controls.Add(editor);
The error I am getting is this:
document.getElementById(ed.getParam("umbraco_toolbar_id", "*")) is nulldocument.getElementByI...o_toolbar_id", "*")).appendChild(c);
Any of you guys and gals have any idea what is going on ?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Using tinyMCE in custom section
Hi all.
I am creating a custom section in Umbraco 4.6.1, where I need to use the tinyMCE editor for some content. I have searched this forum like crazy, but not found anything useful.
The error I am getting is this:
Any of you guys and gals have any idea what is going on ?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.