CuBoulder / ucb_ckeditor_plugins

This Drupal 9+ module contains a collection of CKEditor 5 plugins to add functionality to the WYSIWYG editor.
GNU General Public License v2.0
1 stars 0 forks source link

CKEditor 5 Plugin: Responsive Table #41

Closed jnicholCU closed 2 weeks ago

jnicholCU commented 1 year ago

There's still a number of shortcodes from Drupal 7 Express that need to be implemented. Below are the remaining shortcodes and descriptions of how they work. Most shortcodes, unless specified, come from the cu_shortcodes module: https://github.com/CuBoulder/express_mono/blob/dev/modules/custom/cu_shortcodes

This may already be functionality in CKEditor 5, I haven't checked.

Responsive Table Wrapping a table in this shortcode helps it be used on smaller screens by allowing the user to scroll horizontally. An optional breakpoint value can trigger when the scrolling starts. [responsive-table breakpoint="800"]HTML Table Here[/responsive-table]

jcsparks commented 1 year ago

I don't think we want fight with the built-in table plugin for CK5, but if we can extend the existing plugin to add in a style option that would allow selection based on the style guide definition of tables I think that will work.

See : https://styleguide.colorado.edu/content/tables.html

timurtripp commented 2 weeks ago

We're going to convert these to normal tables and strip the extra stuff. Marking as not planned.