Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
hicux
Newbie
Newbie



Joined: Jan 30, 2009
Posts: 92
Location: NL

PostPosted: Sun Sep 01, 2013 2:05 pm Reply with quote

Hi Montego. I upgrade to the new download version and suddenly my CKEditor is not showing and I can not write any description.

Any suggestion?


Last edited by hicux on Sun Sep 01, 2013 2:13 pm; edited 1 time in total 
View user's profile Send private message Visit poster's website
hicux
Newbie
Newbie



Joined: Jan 30, 2009
Posts: 92
Location: NL

PostPosted: Sun Sep 01, 2013 2:12 pm Reply with quote

After adding these lines to config.js from includes/ckeditor/ my CkEditor got desactivated.

Code:
// ALLOW <h1></h1>
config.protectedSource.push( /<h1[\s\S]*?\>/g ); //allows beginning <h1> tag
config.protectedSource.push( /<\/h1[\s\S]*?\>/g ); //allows ending </h1> tag
// ALLOW <h2></h2>
config.protectedSource.push( /<h2[\s\S]*?\>/g ); //allows beginning <h2> tag
config.protectedSource.push( /<\/h2[\s\S]*?\>/g ); //allows ending </h2> tag
// ALLOW <h3></h3>
config.protectedSource.push( /<h3[\s\S]*?\>/g ); //allows beginning <h3> tag
config.protectedSource.push( /<\/h3[\s\S]*?\>/g ); //allows ending </h3> tag
// ALLOW <h4></h4>
config.protectedSource.push( /<h4[\s\S]*?\>/g ); //allows beginning <h4> tag
config.protectedSource.push( /<\/h4[\s\S]*?\>/g ); //allows ending </h4> tag
// ALLOW <h5></h5>
config.protectedSource.push( /<h5[\s\S]*?\>/g ); //allows beginning <h5> tag
config.protectedSource.push( /<\/h5[\s\S]*?\>/g ); //allows ending </h5> tag
// ALLOW <h6></h6>
config.protectedSource.push( /<h6[\s\S]*?\>/g ); //allows beginning <h6> tag
config.protectedSource.push( /<\/h6[\s\S]*?\>/g ); //allows ending </h6> tag
// ALLOW <hr>
config.protectedSource.push( /<hr[\s\S]*?\>/g ); //allows beginning <hr> tag
// ALLOW <i></i>
config.protectedSource.push( /<i[\s\S]*?\>/g ); //allows beginning <i> tag
config.protectedSource.push( /<\/i[\s\S]*?\>/g ); //allows ending </i> tag
// ALLOW <p></p>
config.protectedSource.push( /<p[\s\S]*?\>/g ); //allows beginning <p> tag
config.protectedSource.push( /<\/p[\s\S]*?\>/g ); //allows ending </p> tag
// ALLOW <span></span>
config.protectedSource.push( /<span[\s\S]*?\>/g ); //allows beginning <span> tag
config.protectedSource.push( /<\/span[\s\S]*?\>/g ); //allows ending </span> tag


Note: This has nothing to do with the version of Montego Download. Wink
 
View user's profile Send private message Visit poster's website
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Mon Sep 02, 2013 10:48 am Reply with quote

hicux,

Unsure how to help you. I don't know CKeditor at all. I use the nukeWYSIWYG standard calls, so if you're using that still, I guess it might something in how you've incorporated CKE?? Not sure. Sorry.

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 4 Hours
 
Forums ©
linear-bunch