close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

<i></i> tag being stripped out of PowerCMS areas?

Thread began 2/01/2017 9:53 am by MagsW | Last modified 2/02/2017 5:13 pm by Ray Borduin | 64 views | 4 replies |

MagsW

<i></i> tag being stripped out of PowerCMS areas?

I use standard Font Awesome classes to style bulleted lists, like this:

<ul class="fa-ul">
<li><i class="fa-li fa fa-check"></i>List item</li>
<li><i class="fa-li fa fa-check"></i>List item</li>
<li><i class="fa-li fa fa-check"></i>List item</li>
</ul>

When this code is used within a PowerCMS editable area, it initially displays OK but as soon as I try to Edit the region (and before I've actually made any edits), if I look at the Source code the <i> tags have disappeared so I'm left with this:

<ul class="fa-ul">
<li>List item</li>
<li>List item</li>
<li>List item</li>
</ul>

Any way I can stop this from happening?

Sign in to reply to this post

Ray BorduinWebAssist

This may be fixed in a more recent version of the html editor. If you give me FTP access and a url where I can reproduce the problem I can see if updating to a newer version will fix it.

Sign in to reply to this post

MagsW

Hi Ray, that would be great thanks - details in PM section.

Sign in to reply to this post

Ray BorduinWebAssist

Updating the ckeditor didn't help. However I was able to find a solution. I added this to the webassist/ckeditor/config.js file:

CKEDITOR.dtd.$removeEmpty['i'] = false;

That seems to have corrected the problem.

Sign in to reply to this post

MagsW

That's great thanks Ray, it's done the trick. I have one CMS governing several separate related sites so I'll copy this file over to the other sites too.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...