Main navigation
Product navigation
Main content
CKEditor 4
Overview
Demo
Accessibility Checker
Add-ons
Documentation
Download
Pricing
More
Home
WYSIWYG Editors
CKEditor 4
CKEditor 5
Image upload
CKFinder
Easy Image
Collaboration
Comments
New
Track changes
New
Collaborative editing
Pricing
Case studies
New
Documentation
Help center
Blog
Contact us
The forum operates in
read-only
mode. Please head to
StackOverflow
for support.
Forums
CKEditor
Support
Last post
Wed, 11/07/2007 - 01:41
#1
devics
Joined:
07/11/2007
Posts:
2
How to keep <style> in the <body> area?
Wed, 11/07/2007 - 22:35
#2
devics
Joined:
07/11/2007
Posts:
2
Re: How to keep <style> in the <body> area?
Solved...
This line in fckconfig.js will protect the style tags from beeing touched by the editor:
FCKConfig.ProtectedSource.Add( /<style[sS]*?/style>/gi ) ; // <STYLE> tags.
Twitter
Facebook
Facebook
Instagram
Medium
Linkedin
GitHub
Arrow down
Phone
Menu
Close icon
Check
Re: How to keep <style> in the <body> area?
This line in fckconfig.js will protect the style tags from beeing touched by the editor:
FCKConfig.ProtectedSource.Add( /<style[sS]*?/style>/gi ) ; // <STYLE> tags.