Commit b9aa426ff25667f7dff005e21b1411617c0ad5a6

Authored by Steve MARECHAL
1 parent a43db55d

dojo editor

Showing 1 changed file with 11 additions and 6 deletions   Show diff stats
calexium_lib/web/CXM_dojo.anubis
... ... @@ -370,15 +370,20 @@ public define HTML_Off_Form
370 370 public define HTML_In_Form
371 371 dojo_editor
372 372 (
373   - List(TextAreaOption) attributes,
374   - HtmlId id,
375   - WebArgName name,
376   - String text,
377   - )=
  373 + List(CoreAttrs) attributes,
  374 + String dojo_id,
  375 + String name,
  376 + HTML_In_Form text,
  377 + )=/*
378 378 text_area([input_attrs([
379 379 attr("dojoType", "dijit.Editor"), attr("style", "overflow:auto") .
380 380 [attr("extraPlugins" , "['createLink','insertImage',{name:'dijit._editor.plugins.FontChoice', command: 'fontName', generic: true},'fontSize']")]])
381   - . attributes], "", id, name, init(text), 0, 0).
  381 + . attributes], "", id, name, init(text), 0, 0).*/
  382 +// literal("<div dojoType=\"dijit.Editor\" region=\"center\" id=\"${id}_edit\" name=\"${id}_edit\" >
  383 +//blablablablabal</div>").
  384 + div([id(dojo_id), attr("name", name), attr("dojoType", "dijit.Editor")
  385 + //, attr("style", "overflow:auto"), attr("extraPlugins" , "['createLink','insertImage',{name:'dijit._editor.plugins.FontChoice', command: 'fontName', generic: true},'fontSize']")
  386 + . attributes], text).
382 387  
383 388 public define HTML_In_Form
384 389 dojo_button
... ...