I am using Drupal 7.8 with CKEditor 3.6.2, however I am seeing this issue with the online demo at http://ckeditor.com/demo as well. The issue is certain elements, like a table, cannot be the last item on the page. If I have a table as the last item, an empty paragraph gets inserted below (<p> </p>) and I cannot find a method (to instruct users) to delete it through the WYSIWYG.
So I am thinking a solution could be to write a plugin that executes on page save (before the save actually occurs) and it will remove the <p> </p> from the end.
Is it possible for me to do that? How would I tie into the save page process in Drupal? How can I access all of the ckeditor's content, to remove <p> </p> from the end?
Or does anyone know of an existing solution to this issue?
Thank you very much for any assistance.
Fri, 03/09/2012 - 20:27
#1