I have tried so many things and I still can't make this work.
In Joomla 2.5.20, with JCE 2.3.4.4, on a Mac, I have the following scenario:
In the editor, I have a set of divs, and if I select them (either visually by dragging the cursor, or via a click in the path) and copy them with cmd + copy, when I paste it (either via the shortcut, or the paste dialog), the pasted content has no <div>
's because these were converted to <br>
's!
One thing I noticed, is that the pasted content in the paste dialog has the divs, so the conversion/stripping is done when placing into the editor, not when copying!
I would like it not to strip the <div>
nor convert it to anything else.
I have tried adding div
to the "keep tags" (profiles > [my profile] > plugin parameters > clipboard) but that makes it worse, it not only removes the <div>
tag but also any other tags.
I am using the super-admin, which doesn't have text filtering, and the JCE profile doesn't have the "cleanup HTML" nor "validate HTML". All other filters in JCE are off (don't strip class attributes, etc).
Anyone has a solution for this?