Jump to content

Recommended Posts

Posted

Hello at first - i'm completly new to pw and coming from modx evolution.
My first try to include an old but good theme from modx into pw was successfull - i was very impressed.

Now i'm going to personalize the backend: I love codemirror for ckeditor - i installed the new ckeditor-module, activated the new module in the desired field, and if click on "Source" i'll get my real HTML-Code in an Codemirror-view. But if i click on save the ckeditor makes from this code 

<div class="container-fluid">

in the frontend Sourcecode this

&lt;div class=&quot;container-fluid&quot;&gt;

What's wrong with my editor?!

Posted
6 hours ago, barneyy said:

But if i click on save the ckeditor makes from this code 


<div class="container-fluid">

in the frontend Sourcecode this


&lt;div class=&quot;container-fluid&quot;&gt;

Check to make sure you don't have HTML Entity Encoder selected as a text formatter for the field.

 2018-03-01_103328.png.0dd5727ddc00dd9e5956e9383c87f908.png

I just tried installing the Codemirror plugin for CKEditor and it's working as expected here (although I did need to select a light-coloured theme because the extra specificity coming from editor.css forced the text to black).

  • Like 2
Posted

Hey @Robin S,

you made my day - it was the HTML Entity Encoder Formatter - but be sure that i've tried maybe half an hour to find out what could be wrong, (or maybe an hour!?) - i dindn't find anything. I have to learn to handle so many field options.

Thanks a lot

  • Like 1

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
×
×
  • Create New...