ckeditor / ckeditor5

Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing.
https://ckeditor.com/ckeditor-5
Other
9.56k stars 3.7k forks source link

How to remove table while preserving the text ? #15729

Open suhailk4 opened 9 months ago

suhailk4 commented 9 months ago

How do we remove table while maintaining the text with formatting ? In order words how do we convert table into text in ckeditor ?

suhailk4 commented 9 months ago

@Witoso

Witoso commented 9 months ago

Hi! I'm not sure if I fully understand your use case. If you don't want tables, you can simply not load this plugin, and the text and its other attributes should be preserved.

suhailk4 commented 9 months ago

Hi ,thanks for responding. My use case is if I have 2 tables and have data inside those 2 table ,let's say after saving I come back later and decided to remove 2nd table but want to keep the data as it's with other formating as it's like font size ,font weight,color etc thats where I am thinking if we have option to remove table while preserving data inside that .

Witoso commented 9 months ago

This would require a custom feature that you could write. Possible implementation approach: