prbaron / pbckcode

A CKEditor plugin to easily add code into your article
Apache License 2.0
44 stars 26 forks source link

Inserting code that allready exists #10

Closed timvandijck closed 10 years ago

timvandijck commented 11 years ago

Hi, thank you for this great plugin.

But I'm having one problem with this: what should I do when there is already code in the textarea?

Usecase:

When this happens the codesnippets look like regular text again in the editor. Is there a way to display it again like it was before the user saved it the first time?

Thank you in advance!

prbaron commented 11 years ago

Hello, Wich version if CKEditor and pbckcode are you using ?

CKEditor 4.1 removes tags and properties frome the content when it loads so I suggest you to work with 4.0.x while I search how to prevent this.

timvandijck commented 11 years ago

I am using CKEDitor 4.1 with PBCKCode 1.1.0.

Thank you for the tip, I will try it with CKEditor 4.0