You can extend the TinyMCE3 richtext editor, I am not sure about adding default text, but you can certainly add your own custom button to the menu which then inserts your table for you.
Although it seems strange to want to mix presentation and content, what exactly are you trying to achieve as there may be a better way.
Or, you could build an action handler that fires on document creation and set default value for the rte property of the document. Action handlers are explained in detail on the wiki.
Default text in RichTextEditor
Hi!
Is it possible to define a default text, that will appear in the richtextbox, when you make a new page from the template with the richtextbox.
My wish is to have af predefined table in the richtextbox...
Hi Peter,
You can extend the TinyMCE3 richtext editor, I am not sure about adding default text, but you can certainly add your own custom button to the menu which then inserts your table for you.
Although it seems strange to want to mix presentation and content, what exactly are you trying to achieve as there may be a better way.
Cheers,
Chris
Try using an AfterNew event handler.
Take a look here: http://our.umbraco.org/wiki/reference/api-cheatsheet
hth, Thomas
Or, you could build an action handler that fires on document creation and set default value for the rte property of the document. Action handlers are explained in detail on the wiki.
Cheers,
/Dirk
is working on a reply...