Mackski Posted September 25, 2017 Share Posted September 25, 2017 <br> or <br /> This doesnt seem to be reflected within CK editor. eg:$page->body = $sanitizer->purify("<br />Some Content<br /><br />More Content"); Results in one long string in CK. Bug? Or am I missing something here. Link to comment Share on other sites More sharing options...
abdus Posted September 25, 2017 Share Posted September 25, 2017 It works fine for me $page->of(false); $page->body = $sanitizer->purify("<br />Some Content<br /><br />More Content"); $page->save(); Link to comment Share on other sites More sharing options...
Mackski Posted September 25, 2017 Author Share Posted September 25, 2017 100% not working. I've tried a normal textarea field, same result, on save ALL HTML is stripped out. ProcessWire 2.8.62 Link to comment Share on other sites More sharing options...
abdus Posted September 25, 2017 Share Posted September 25, 2017 8 minutes ago, Mackski said: on save ALL HTML is stripped out. When you open the source dialog of CKE do you get just basic text? Try disabling ACF and Purifier, maybe one of them is misbehaving (don't leave it disabled though) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now