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,
Can anyone tell me how to enable a simpel version of tinyMCE3 in a aspx page used in a custom section.I need only basic buttons, like : Bold, italic, paragraph, links, html, aligment buttons.
If you go into the developers section > data types > rich text editor you get to decide which buttons are shown.
I know, that i can change the which buttons i need under datatypes for normal umbraco pages.
But i ned to do it in code behind, since i use this page in a custom section.I add the tinyMCE3 in my page like this:
Over page_load
private umbraco.editorControls.tinyMCE3.webcontrol.TinyMCEWebControl
richTextEditor;
in the page_init i do this:
protected override void OnInit(EventArgs e)
{
base.OnInit(e);//Add the rich text edittor to a panel
richTextEditor = new umbraco.editorControls.tinyMCE3.webcontrol.TinyMCEWebControl();
PPanel3.Controls.Add(richTextEditor);
}
But how and where do i control which buttons i need?
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
tinyMCE3 simple theme
Hi,
Can anyone tell me how to enable a simpel version of tinyMCE3 in a aspx page used in a custom section.
I need only basic buttons, like : Bold, italic, paragraph, links, html, aligment buttons.
If you go into the developers section > data types > rich text editor you get to decide which buttons are shown.
I know, that i can change the which buttons i need under datatypes for normal umbraco pages.
But i ned to do it in code behind, since i use this page in a custom section.
I add the tinyMCE3 in my page like this:
Over page_load
private umbraco.editorControls.tinyMCE3.webcontrol.TinyMCEWebControl
richTextEditor;
in the page_init i do this:
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
//Add the rich text edittor to a panel
richTextEditor = new umbraco.editorControls.tinyMCE3.webcontrol.TinyMCEWebControl();
PPanel3.Controls.Add(richTextEditor);
}
But how and where do i control which buttons i need?
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.