Commit 92613c961a85ea0ff2db45f808b373b0b5cc5303
1 parent
901f374b
editor extra plugins
Showing
1 changed file
with
4 additions
and
11 deletions
Show diff stats
calexium_lib/web/CXM_dojo.anubis
| ... | ... | @@ -522,17 +522,10 @@ public define HTML_In_Form |
| 522 | 522 | HtmlId html_id, |
| 523 | 523 | WebArgName input_name, |
| 524 | 524 | HTML_In_Form text, |
| 525 | - )=/* | |
| 526 | - text_area([input_attrs([ | |
| 527 | - attr("dojoType", "dijit.Editor"), attr("style", "overflow:auto") . | |
| 528 | - [attr("extraPlugins" , "['createLink','insertImage',{name:'dijit._editor.plugins.FontChoice', command: 'fontName', generic: true},'fontSize']")]]) | |
| 529 | - . attributes], "", id, name, init(text), 0, 0).*/ | |
| 530 | -// literal("<div dojoType=\"dijit.Editor\" region=\"center\" id=\"${id}_edit\" name=\"${id}_edit\" > | |
| 531 | -//blablablablabal</div>"). | |
| 532 | - div([id(html_id.id), attr("name", input_name.name), attr("dojoType", "dijit.Editor") | |
| 533 | - ,attr("extraPlugins", "['|',{name:'dojox.editor.plugins.FontChoice', command:'fontName', generic:true},'fontSize']") | |
| 534 | - | |
| 535 | - . attributes], text). | |
| 525 | + )= | |
| 526 | + div([id(html_id.id), attr("name", input_name.name), attr("dojoType", "dijit.Editor") | |
| 527 | + ,attr("extraPlugins", "['|', 'foreColor','hiliteColor',{name:'dojox.editor.plugins.FontChoice', command:'fontName', generic:true},'fontSize','formatBlock','|','createLink','insertImage']") | |
| 528 | + . attributes], text). | |
| 536 | 529 | |
| 537 | 530 | public define HTML_In_Form |
| 538 | 531 | dojo_button | ... | ... |