Jump to content

Beautify Markup Toggles + HTML Purifier


robobobo
 Share

Recommended Posts

Hello!

It's my first question and i am new in Processwire.

I'm using PW 2.5.2 and  tried to set the options (see above) for CKE. When i activate HTML Purifier the options "Convert div tags to paragraph tags", "Remove empty paragraph tags" and "Remove non-breaking spaces (nbsp)" doesn't seem to work...

Is there a solution, what I am doing wrong?

Thanks for your help!

Link to comment
Share on other sites

HTML Purifier is active by default. What are your other settings? Also I think the latest stable version is 2.5.3. Try updating to that and see if you get the desired results your looking for. If not, post  a screen shot so we can see your other settings and start from there.

Link to comment
Share on other sites

Hi RJay,

i loaded this Version (2.5.2) one week ago from this website...

I think the settings are ok...

---- Details ----------------------------

Text-Formatting-> blank | Inputfield Type -> CKE | Content-Type -> Markup/HTML

---- Input ----------------------------

 ...(no special settings) ...

Editor Toolbar:

Format,  -, Bold, -, RemoveFormat
BulletedList,
PWLink, Unlink, Anchor
SpecialChar
PasteText, PasteFromWord
Scayt, -, Sourcedialog

Editor Mode: Regular

Use AFC -> Yes

Use Purifier -> Yes

Beautiful Markuptools -> checked all

Format Tags -> p;h3

Custum Editor CSS File -> /site/modules/InputfieldCKEditor/contents.css

Pugins -> pwimage (recommended) | pwlink (recommended) | sourcedialog

...and that's it.

--------------------------

Beautiful Markuptools aren't working if i check Purifier...

There is no error msg... but the blank tags like <p> </p> will not be deleted after saving...

If nobody else has this problem i maybe it's a problem with my server settings...
 

Link to comment
Share on other sites

Hi Robo,

Out of curiosity, I experimented with this and also found that empty <p> tags were not being removed when checked. It may be a bug or some settings conflict. I will try to test it out some more this week or maybe someone smarter then I can chime in.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...