Changeset 117671 in spip-zone


Ignore:
Timestamp:
Aug 27, 2019, 4:16:15 PM (3 months ago)
Author:
cam.lafit
Message:

Autoriser le html dans ckeditor

  • SPIP devrait s'occuper de faire le nettoyage HTML
  • On évite tout conflit entre le balisage SPIP ou Ckeditor, en priviligiant SPIP uniquement
Location:
_plugins_/ckeditor-spip-plugin/branches/ckeditor-4.x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/ckeditor-spip-plugin/branches/ckeditor-4.x

    • Property subgit:lock:af6021613f0e79b81916b4ac84baa31cf54f9ab8 deleted
    • Property subgit:lock:258f21af201fca59470910629fade8495d3831b2 set to 2019-08-27T18:18:04.070
  • _plugins_/ckeditor-spip-plugin/branches/ckeditor-4.x/ckeditor_fonctions.php

    r117657 r117671  
    603603                        }
    604604                        $cke_cfg['removePlugins'] = join(',',$removePlugins) ;
     605                        //https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-allowedContent
     606                        $cke_cfg['allowedContent'] = true; //Disable HTML cleanup
    605607                        $cke_cfg['fullPage'] = false;
    606608        }
Note: See TracChangeset for help on using the changeset viewer.