Coldfusion cftexarea (richtext=true) alignment issue
Posted on 2007-11-29
When text is written inside a cftextarea and end-of-line is entered, and the source is viewed it appears within a <p> block. Due to subsequent processes it was neccessary for me to change fckconfig.js which configures this to make </br> the default function of the ENTER key.
However, the problem i get now is that <p> is ALSO submitted when the text is aligned. If i write some text, and align it in any way it is embedded within some <p> block, i.e:
<p align="justify">some text</p>
.. is there a way to configure, such as there was for the enter key, which tag should be used for alignment? .. ideally i would like to use <div align="justify"> since the subsequent process does not perform any formatting on <div> tags>>