Django CMS CKeditor -


can tell me how restrict editor allow h1 , h2 under format attribute in ckeditor:

ckeditor_settings_title = {     'language': '{{ language }}',     'toolbar_htmlfield': [         ['format']     ] } 

add format_tags option select formats available in ckeditor:

ckeditor_settings_title = {     'language': '{{ language }}',     'toolbar_htmlfield': [         ['format']     ],     'format_tags': 'h1;h2' } 

Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -