Welcome! » Log In » Create A New Profile

Its value permitted styles for each tag individually.

Posted by kenny 
Its value permitted styles for each tag individually.
May 26, 2016 05:56AM

Hello.

<p style="text-align:justify; float:right;">any text</p>
<img style="float:right; margin:10px;" >
<p style="text-align:right;">any text</p>

Need:

<p style="text-align:justify;">text</p>
<img style="float:right;" >
<p>any text</p>

Is it possible to do such a thing? Thank you.

Re: Its value permitted styles for each tag individually.
November 02, 2016 02:19PM

Not in the base library. You'll have to write some code.

Author:
Your Email:

Subject:

HTML input is enabled. Make sure you escape all HTML and angled brackets with &lt; and &gt;.

Auto-paragraphing is enabled. Double newlines will be converted to paragraphs; for single newlines, use the pre tag.

Allowed tags: a, abbr, acronym, b, blockquote, caption, cite, code, dd, del, dfn, div, dl, dt, em, i, ins, kbd, li, ol, p, pre, s, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, var.

For inputting literal code such as HTML and PHP for display, use CDATA tags to auto-escape your angled brackets, and pre to preserve newlines:

<pre><![CDATA[
Place code here
]]></pre>

Power users, you can hide this notice with:

.htmlpurifier-help {display:none;}

Message: