they returned to Earth and landed in the <a href="http://en.wikipedia.org/wiki/Pacific_Ocean" title="Pacific Ocean">Pacific Ocean</a> on July 24.</p> <hr/> <p style="text-align: right;"><small>Source: <a href="http://en.wikipedia.org/wiki/Apollo_11">Wikipedia.org</a></small></p>
This editor is using a custom configuration for ACF:
CKEDITOR.replace( 'editor2', { allowedContent: 'h1 h2 h3 p blockquote strong em;' + 'a[!href];' + 'img(left,right)[!src,alt,width,height];' + 'table tr th td caption;' + 'span{!font-family};' +' 'span{!color};' + 'span(!marker);' + 'del ins' } );
The following rules may require additional explanation:
h1 h2 h3 p blockquote strong em
- These tags
are accepted by the editor. Any tag attributes will be discarded.
a[!href]
- href
attribute is obligatory
for <a>
tag. Tags without this attribute
are disarded. No other attribute will be accepted.
img(left,right)[!src,alt,width,height]
- src
attribute is obligatory for <img>
tag.
alt
, width
, height
and class
attributes are accepted but
class
must be either class="left"
or class="right"
table tr th td caption
- These tags
are accepted by the editor. Any tag attributes will be discarded.
span{!font-family}
, span{!color}
,
span(!marker)
- <span>
tags
will be accepted if either font-family
or
color
style is set or class="marker"
is present.
del ins
- These tags
are accepted by the editor. Any tag attributes will be discarded.
Please note that UI of the
editor is different. It's a response to what happened to the filters.
Since text-align
isn't allowed, the align toolbar is gone.
The same thing happened to subscript/superscript, strike, underline
(<u>
, <sub>
, <sup>
are disallowed by
config.allowedContent
) and many other buttons.