Closed anncesar closed 8 years ago
Original comment from @brharp : "@mmafe Please test. I imported the wysiwyg filter configuration from our old SVN/websolutions platform, and updated it to allow only bootstrap classes. I think we may need to expand the list of allowed tags. Looking for ideas."
Test Notes
I'm seeing the following...
We may need to research options for removing as many of those input fields as we can... Also still seeing the inserted border /cell spacing etc.
I remember working to resolve this issue on the old responsive theme. I don't believe it's possible to remove those default values without hacking ckeditor config files (not a good thing to do since the changes would be overwritten every time ckeditor gets an update). So the workaround I came up with was to configure the Filtered HTML text format to automatically strip all cellspacing, cellpadding, height and width markup from
The ckeditor continues to be a problem for creating accessible content, and while we may be able to train clients, we should consider doing the following changes to help ensure users create accessible content:
1) Remove defaults from Image/table upon inserting 2) also Consider removing the following options, if possible from the editor: Image: Wdith, Height, Border Table: Border size, width, height, cell spacing, cell padding 3) consider removing the current insert table and insert image options and creating our own custom buttons that insert tables and images properly (using Bootstrap classes only). 4) we may also want to consider getting a license for this too: https://cksource.com/ckeditor/services#accessibility-checker --- Possibility-limit the output on filter to just appropriate html tags and bootstrap classes. Other research may be required, look to drupal 8 also?