h5p-editor-php-library
h5p-editor-php-library copied to clipboard
Fix for scenarios where content is inside the table-overflow-protection
trafficstars
In some cases the editor saves data inside the table-overflow-protection div. When this happens, clicking the editor would remove all existing content.
This fixes those scenarios by extracting the inner content before removing the table-overflow-protection div.
The previous behaviour is kept when the content was already outside of the table-overflow-protection div