Revision 219

Date:
2012/06/16 14:42:34
Author:
ahitrov
Revision Log:
Text pre-formatting for WYSIWYG

Files:

Legend:

 
Added
 
Removed
 
Modified
  • koi8/core/comps/contenido/components/inputs/wysiwyg.msn

     
    12 12 % if ($request->{images_staff_printed}) {
    13 13 onclick="storeCaret(this)" onkeyup="storeCaret(this)" onselect="storeCaret(this)" \
    14 14 % }
    15 <% $prop->{readonly} ? 'readonly ' : '' %> name="<% $name %>" rows="<% $prop->{rows} || 8 %>" cols="<% $prop->{cols} || 8 %>" style="width: 95%;"><% $check %></textarea>
    15 <% $prop->{readonly} ? 'readonly ' : '' %> name="<% $name %>" rows="<% $prop->{rows} || 8 %>" cols="<% $prop->{cols} || 8 %>" style="width: 95%;"><& /inc/text_format.msn, text => $check &></textarea>
    16 16
    17 17 <%args>
    18 18 $name => undef
     
    21 21 $object => undef
    22 22 </%args>
    23 23 <%init>
    24 $check = html_escape($check) unless $prop->{no_escape};
    25 24 </%init>