formfcw / directus-extension-flexible-editor

A rich text editor (WYSIWYG) with JSON output that allows the integration of M2A relations to make it extremely flexible. A truly rich editor for Directus.
https://www.npmjs.com/package/directus-extension-flexible-editor
GNU General Public License v3.0
141 stars 14 forks source link

Initial implementation of the table extension #32

Closed madc closed 9 months ago

madc commented 9 months ago

This PR introduces a first draft of the table extension based on https://github.com/formfcw/directus-extension-flexible-editor/discussions/27

Status:

I'm open for suggestions and support on how to integrate the tool menu into the editor.

madc commented 9 months ago

Thanks for taking the time and reviewing/extending my PR!

Following your lead, I just added some of the actions: image

I tried to keep it as useful and minimal as possible. Let me know, if that's OK. There is still room for improvement (i.e. icons), but I think this is a working implementation so far.

madc commented 9 months ago

Looks really fine, good job! Can't wait to see it merged! :crossed_fingers:

madc commented 9 months ago

One small addition: I've been looking through some other implementations of tables in WYSIWYG editors and they all seem to use the singular terms (cell, column, row).