0

I want to auto generate paragraph tag in my table cell whenever I generate the table in ckeditor. For example :

Before:

<table><tr><td></td></tr></table>

After:

<table><tr><td><p></p></td></tr></table>
Max
  • 9
  • 7
  • by custom coding it is possible – Negi Rox Jan 29 '18 at 09:30
  • oh I see, do u have any example ? By the way, now I'm using this [link](https://github.com/jeroennoten/laravel-ckeditor) for my project. – Max Jan 29 '18 at 09:33
  • You will have to work with CKEditor's events (when the content is changed). How it works, depends on the version (3, 4, 5). Take a look at the docs, or this thread for CKEditor 5: https://stackoverflow.com/questions/45133183/listen-to-event-fired-when-the-content-has-changed-in-ckeditor-5 – Christian Benseler Jan 29 '18 at 09:42
  • I understand but it's not precise enough on how to implement it. (I'm still a beginner) – Max Jan 29 '18 at 09:48

0 Answers0