|
Trying to be too clever too quickly with PCDTR plugin, I've discovered a bug when you have applied PCDTR to a style that is applied to part of the text in an article.
What I've done is create a div in the article called textheading, which I've then rendered using PCDTR to change the font.
However, when I edit the article (using JCE) from the front end, the sections with PCDTR applied to them goes from:
<div id="textheading">Lorem ipsum dolores</div>
to
<div id="textheading pcdtr"><span id="pcdtr1">Lorem</span><span id="pcdtr2">ipsum</span><span id="pcdtr3">dolores</span></div>
By adding the pcdtr to the DIV ID, the page layout then breaks.
As PCDTR only applies in the front end, I have the client editing the articles from the backend at the moment. It would be nice to discover a way to have the editor ignore PCDTR when the editor loads.
|