Dotclear

Changeset 3640:7df99527ffd0 for plugins


Ignore:
Timestamp:
12/29/17 15:08:35 (8 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:
  • Add module id in () after module label in modules' list
  • cope with required textarea with CKEditor (still not perfect)
  • html::escapeHTML() is === with , so replace the first by the second
File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/dcCKEditor/_post_config.php

    r3367 r3640  
    264264               $('#cke_post_excerpt').toggleClass('hide',$('#post_excerpt').hasClass('hide')); 
    265265          }); 
     266 
     267         $('form textarea').attr('required', ''); 
     268         $.each(CKEDITOR.instances, function (instance) { 
     269             CKEDITOR.instances[instance].on("change", function (e) { 
     270                 for (instance in CKEDITOR.instances) { 
     271                     CKEDITOR.instances[instance].updateElement(); 
     272                     $('form').parsley().validate(); 
     273                 } 
     274             }); 
     275         }); 
     276 
    266277     }); 
    267278 
Note: See TracChangeset for help on using the changeset viewer.

Sites map