I am baffled by the following. I have this code in a block:
<div id="headcontact"> <ul><li><em class="mini-ico-envelope"></em><a href="mailto: mail@mail.org">mail@mail.org</a></li><li><em class="mini-ico-user"></em> (999) 463 1234</li> </ul> </div>
I close the block after editing and the em tag can be seen in firebug and it works as intended. I am using css transitions and glyphicons.
Then I go into the editor and I see
<div id="headcontact"> <ul> <li> <a href="mailto:mail@mail.org">mail@mail.org</a></li> <li> (999) 463 1234</li> </ul>
No more em tags! And the intended appearance of the icons doesn't work.
I tried using the wysiwyg module with ckeditor and the ckeditor module by itself adding config.allowedContent = true; to the ckeditor.config.js file. And to the advanced options. I don't have the html filter on.
Any ideas as to a solution to stop it from stripping the tags?
Thanks Tony
Doesn't look like your em tags surround anything displayable, could the code have been optimized?
On Tue, Apr 22, 2014 at 3:50 PM, Tony tony@tony-mac.com wrote:
I am baffled by the following. I have this code in a block:
<div id="headcontact"> <ul><li><em class="mini-ico-envelope"></em><a href="mailto: mail@mail.org">mail@mail.org</a></li><li><em class="mini-ico-user"></em> (999) 463 1234</li> </ul> </div>
I close the block after editing and the em tag can be seen in firebug and it works as intended. I am using css transitions and glyphicons.
Then I go into the editor and I see
<div id="headcontact"> <ul> <li> <a href="mailto:mail@mail.org">mail@mail.org</a></li> <li> (999) 463 1234</li> </ul>
No more em tags! And the intended appearance of the icons doesn't work.
I tried using the wysiwyg module with ckeditor and the ckeditor module by itself adding config.allowedContent = true; to the ckeditor.config.js file. And to the advanced options. I don't have the html filter on.
Any ideas as to a solution to stop it from stripping the tags?
Thanks Tony
--
*Anthony Stefan Maciejowski*
*http://about.me/TonyMac http://www.about.me/TonyMac*
-- [ Drupal support list | http://lists.drupal.org/ ]
By what? Thanks.
On Tue, Apr 22, 2014 at 4:36 PM, Warren Vail warren@vailtech.net wrote:
Doesn't look like your em tags surround anything displayable, could the code have been optimized?
On Tue, Apr 22, 2014 at 3:50 PM, Tony tony@tony-mac.com wrote:
I am baffled by the following. I have this code in a block:
<div id="headcontact"> <ul><li><em class="mini-ico-envelope"></em><a href="mailto: mail@mail.org">mail@mail.org</a></li><li><em class="mini-ico-user"></em> (999) 463 1234</li> </ul> </div>
I close the block after editing and the em tag can be seen in firebug and it works as intended. I am using css transitions and glyphicons.
Then I go into the editor and I see
<div id="headcontact"> <ul> <li> <a href="mailto:mail@mail.org">mail@mail.org</a></li> <li> (999) 463 1234</li> </ul>
No more em tags! And the intended appearance of the icons doesn't work.
I tried using the wysiwyg module with ckeditor and the ckeditor module by itself adding config.allowedContent = true; to the ckeditor.config.js file. And to the advanced options. I don't have the html filter on.
Any ideas as to a solution to stop it from stripping the tags?
Thanks Tony
--
*Anthony Stefan Maciejowski*
*http://about.me/TonyMac http://www.about.me/TonyMac*
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
CKEditor strips empty tags by default. You'll have to do a custom config and declare a protected source on them empty <em> tags. This should lead you in the right direction:
https://drupal.org/node/1908696
Jamie Holly http://hollyit.net
On 4/22/2014 7:39 PM, Tony wrote:
By what? Thanks.
On Tue, Apr 22, 2014 at 4:36 PM, Warren Vail <warren@vailtech.net mailto:warren@vailtech.net> wrote:
Doesn't look like your em tags surround anything displayable, could the code have been optimized? On Tue, Apr 22, 2014 at 3:50 PM, Tony <tony@tony-mac.com <mailto:tony@tony-mac.com>> wrote: I am baffled by the following. I have this code in a block: <div id="headcontact"> <ul><li><em class="mini-ico-envelope"></em><a href="mailto:mail@mail.org <mailto:mail@mail.org>">mail@mail.org <mailto:mail@mail.org></a></li><li><em class="mini-ico-user"></em> (999) 463 1234</li> </ul> </div> I close the block after editing and the em tag can be seen in firebug and it works as intended. I am using css transitions and glyphicons. Then I go into the editor and I see <div id="headcontact"> <ul> <li> <a href="mailto:mail@mail.org <mailto:mail@mail.org>">mail@mail.org <mailto:mail@mail.org></a></li> <li> (999) 463 1234</li> </ul> No more em tags! And the intended appearance of the icons doesn't work. I tried using the wysiwyg module with ckeditor and the ckeditor module by itself adding config.allowedContent = true; to the ckeditor.config.js file. And to the advanced options. I don't have the html filter on. Any ideas as to a solution to stop it from stripping the tags? Thanks Tony -- */Anthony Stefan Maciejowski/* */http://about.me/TonyMac <http://www.about.me/TonyMac>/* -- [ Drupal support list | http://lists.drupal.org/ ] -- [ Drupal support list | http://lists.drupal.org/ ]--
*/Anthony Stefan Maciejowski/*
what if I put in a blank character? nbsp or however it is written?
On Tue, Apr 22, 2014 at 4:49 PM, Jamie Holly hovercrafter@earthlink.netwrote:
CKEditor strips empty tags by default. You'll have to do a custom config and declare a protected source on them empty <em> tags. This should lead you in the right direction:
https://drupal.org/node/1908696
Jamie Hollyhttp://hollyit.net
On 4/22/2014 7:39 PM, Tony wrote:
By what? Thanks.
On Tue, Apr 22, 2014 at 4:36 PM, Warren Vail warren@vailtech.net wrote:
Doesn't look like your em tags surround anything displayable, could the code have been optimized?
On Tue, Apr 22, 2014 at 3:50 PM, Tony tony@tony-mac.com wrote:
I am baffled by the following.I have this code in a block:
<div id="headcontact"> <ul><li><em class="mini-ico-envelope"></em><a href="mailto: mail@mail.org">mail@mail.org</a></li><li><em class="mini-ico-user"></em> (999) 463 1234</li> </ul> </div>
I close the block after editing and the em tag can be seen in firebug and it works as intended. I am using css transitions and glyphicons.
Then I go into the editor and I see
<div id="headcontact"> <ul> <li> <a href="mailto:mail@mail.org">mail@mail.org</a></li> <li> (999) 463 1234</li> </ul>
No more em tags! And the intended appearance of the icons doesn't work.
I tried using the wysiwyg module with ckeditor and the ckeditor module by itself adding config.allowedContent = true; to the ckeditor.config.js file. And to the advanced options. I don't have the html filter on.
Any ideas as to a solution to stop it from stripping the tags?
Thanks Tony
--
*Anthony Stefan Maciejowski*
*http://about.me/TonyMac http://www.about.me/TonyMac*
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
--
*Anthony Stefan Maciejowski*
*http://about.me/TonyMac http://www.about.me/TonyMac*
-- [ Drupal support list | http://lists.drupal.org/ ]
I've use for some of these situations; worth a try.
On 2014-04-22 16:56, Tony wrote:
what if I put in a blank character? nbsp or however it is written?
On Tue, Apr 22, 2014 at 4:49 PM, Jamie Holly hovercrafter@earthlink.net wrote:
CKEditor strips empty tags by default. You'll have to do a custom config and declare a protected source on them empty <em> tags. This should lead you in the right direction:
https://drupal.org/node/1908696 [2]
Jamie Holly http://hollyit.net [1]
On 4/22/2014 7:39 PM, Tony wrote:
By what? Thanks.
On Tue, Apr 22, 2014 at 4:36 PM, Warren Vail warren@vailtech.net wrote:
Doesn't look like your em tags surround anything displayable, could the code have been optimized?
On Tue, Apr 22, 2014 at 3:50 PM, Tony tony@tony-mac.com wrote:
I am baffled by the following. I have this code in a block:
<div id="headcontact"> <ul><li><em class="mini-ico-envelope"></em><a href="mailto:mail@mail.org">mail@mail.org</a></li><li><em class="mini-ico-user"></em> (999) 463 1234</li> </ul> </div>
I close the block after editing and the em tag can be seen in firebug and it works as intended. I am using css transitions and glyphicons.
Then I go into the editor and I see
<div id="headcontact"> <ul> <li> <a href="mailto:mail@mail.org">mail@mail.org</a></li> <li> (999) 463 1234</li> </ul>
No more em tags! And the intended appearance of the icons doesn't work.
I tried using the wysiwyg module with ckeditor and the ckeditor module by itself adding config.allowedContent = true; to the ckeditor.config.js file. And to the advanced options. I don't have the html filter on.
Any ideas as to a solution to stop it from stripping the tags?
Thanks Tony
--
_ANTHONY STEFAN MACIEJOWSKI_
_HTTP://ABOUT.ME/TONYMAC [3]_ -- [ Drupal support list | http://lists.drupal.org/ [4] ]
-- [ Drupal support list | http://lists.drupal.org/ [4] ]
--
_ANTHONY STEFAN MACIEJOWSKI_
_HTTP://ABOUT.ME/TONYMAC [3]_
-- [ Drupal support list | http://lists.drupal.org/ [4] ]
It seems to have worked.
On Tue, Apr 22, 2014 at 5:01 PM, warren@vailtech.net wrote:
I've use for some of these situations; worth a try.
On 2014-04-22 16:56, Tony wrote:
what if I put in a blank character? nbsp or however it is written?
On Tue, Apr 22, 2014 at 4:49 PM, Jamie Holly hovercrafter@earthlink.netwrote:
CKEditor strips empty tags by default. You'll have to do a custom config and declare a protected source on them empty <em> tags. This should lead you in the right direction:
https://drupal.org/node/1908696
Jamie Hollyhttp://hollyit.net
On 4/22/2014 7:39 PM, Tony wrote:
By what? Thanks.
On Tue, Apr 22, 2014 at 4:36 PM, Warren Vail warren@vailtech.net wrote:
Doesn't look like your em tags surround anything displayable, could the code have been optimized?
On Tue, Apr 22, 2014 at 3:50 PM, Tony tony@tony-mac.com wrote:
I am baffled by the following.I have this code in a block:
<div id="headcontact"> <ul><li><em class="mini-ico-envelope"></em><a href="mailto: mail@mail.org">mail@mail.org</a></li><li><em class="mini-ico-user"></em> (999) 463 1234</li> </ul> </div>
I close the block after editing and the em tag can be seen in firebug and it works as intended. I am using css transitions and glyphicons.
Then I go into the editor and I see
<div id="headcontact"> <ul> <li> <a href="mailto:mail@mail.org">mail@mail.org</a></li> <li> (999) 463 1234</li> </ul>
No more em tags! And the intended appearance of the icons doesn't work.
I tried using the wysiwyg module with ckeditor and the ckeditor module by itself adding config.allowedContent = true; to the ckeditor.config.js file. And to the advanced options. I don't have the html filter on.
Any ideas as to a solution to stop it from stripping the tags?
Thanks Tony
--
*Anthony Stefan Maciejowski*
*http://about.me/TonyMac http://www.about.me/TonyMac*
[ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
--
*Anthony Stefan Maciejowski*
*http://about.me/TonyMac http://www.about.me/TonyMac*
-- [ Drupal support list | http://lists.drupal.org/ ]
--
*Anthony Stefan Maciejowski*
*http://about.me/TonyMac http://www.about.me/TonyMac*
-- [ Drupal support list | http://lists.drupal.org/ ]
I've replaced the html filters in Drupal with other filters like html_purifier, never turned them off, are you sure they are completely off? I would think turning them completely off would create security risks.
On 2014-04-22 16:39, Tony wrote:
By what? Thanks.
On Tue, Apr 22, 2014 at 4:36 PM, Warren Vail warren@vailtech.net wrote:
Doesn't look like your em tags surround anything displayable, could the code have been optimized?
On Tue, Apr 22, 2014 at 3:50 PM, Tony tony@tony-mac.com wrote:
I am baffled by the following. I have this code in a block:
<div id="headcontact"> <ul><li><em class="mini-ico-envelope"></em><a href="mailto:mail@mail.org">mail@mail.org</a></li><li><em class="mini-ico-user"></em> (999) 463 1234</li> </ul> </div>
I close the block after editing and the em tag can be seen in firebug and it works as intended. I am using css transitions and glyphicons.
Then I go into the editor and I see
<div id="headcontact"> <ul> <li> <a href="mailto:mail@mail.org">mail@mail.org</a></li> <li> (999) 463 1234</li> </ul>
No more em tags! And the intended appearance of the icons doesn't work.
I tried using the wysiwyg module with ckeditor and the ckeditor module by itself adding config.allowedContent = true; to the ckeditor.config.js file. And to the advanced options. I don't have the html filter on.
Any ideas as to a solution to stop it from stripping the tags?
Thanks Tony
--
_ANTHONY STEFAN MACIEJOWSKI_
_HTTP://ABOUT.ME/TONYMAC [1]_
-- [ Drupal support list | http://lists.drupal.org/ [2] ]
-- [ Drupal support list | http://lists.drupal.org/ [2] ]
FULL HTML
Enabled filters Display any HTML as plain text Limit allowed HTML tags Display Suite evaluator This filter will only work in the Display Suite text format, machine name is *ds_code*. No other filters can be enabled either. Convert URLs into links Convert line breaks into HTML (i.e. <br> and <p>) Correct faulty and chopped off HTML Correct URLs with Pathologic
On Tue, Apr 22, 2014 at 4:49 PM, warren@vailtech.net wrote:
I've replaced the html filters in Drupal with other filters like html_purifier, never turned them off, are you sure they are completely off? I would think turning them completely off would create security risks.
On 2014-04-22 16:39, Tony wrote:
By what? Thanks.
On Tue, Apr 22, 2014 at 4:36 PM, Warren Vail warren@vailtech.net wrote:
Doesn't look like your em tags surround anything displayable, could the code have been optimized?
On Tue, Apr 22, 2014 at 3:50 PM, Tony tony@tony-mac.com wrote:
I am baffled by the following.I have this code in a block:
<div id="headcontact"> <ul><li><em class="mini-ico-envelope"></em><a href="mailto: mail@mail.org">mail@mail.org</a></li><li><em class="mini-ico-user"></em> (999) 463 1234</li> </ul> </div>
I close the block after editing and the em tag can be seen in firebug and it works as intended. I am using css transitions and glyphicons.
Then I go into the editor and I see
<div id="headcontact"> <ul> <li> <a href="mailto:mail@mail.org">mail@mail.org</a></li> <li> (999) 463 1234</li> </ul>
No more em tags! And the intended appearance of the icons doesn't work.
I tried using the wysiwyg module with ckeditor and the ckeditor module by itself adding config.allowedContent = true; to the ckeditor.config.js file. And to the advanced options. I don't have the html filter on.
Any ideas as to a solution to stop it from stripping the tags?
Thanks Tony
--
*Anthony Stefan Maciejowski*
*http://about.me/TonyMac http://www.about.me/TonyMac*
--[ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
--
*Anthony Stefan Maciejowski*
*http://about.me/TonyMac http://www.about.me/TonyMac*
-- [ Drupal support list | http://lists.drupal.org/ ]