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
Sun, 08/07/2005 - 23:06
#1
jenzener
Joined:
23/08/2005
Posts:
38
How to know if I'm in Source-Mode
Can anyone tell me how to find out where the editor is in source- or wysiwyg-mode?
Thanks
Jenzener
Wed, 08/03/2005 - 07:35
#2
jenzener
Joined:
23/08/2005
Posts:
38
RE: How to know if I'm in Source-Mode
found the answer:
FCK.EditMode
0 = wysiwyg
1 = source
always 0 in ff, because the source is opened in a new window.
Sat, 08/06/2005 - 07:21
#3
mmmary
Joined:
06/08/2005
Posts:
2
RE: How to know if I'm in Source-Mode
Sun, 08/07/2005 - 23:06
#4
jenzener
Joined:
23/08/2005
Posts:
38
RE: How to know if I'm in Source-Mode
Wait, the method doesn't need to be changed! You can call this method!
var whichMode = FCK.EditMode;
Or simply
id(!FCK.EditMode){
alert("haha, I'm in wysiwyg-mode, haha")
}
Twitter
Facebook
Facebook
Instagram
Medium
Linkedin
GitHub
Arrow down
Phone
Menu
Close icon
Check
RE: How to know if I'm in Source-Mode
FCK.EditMode
0 = wysiwyg
1 = source
always 0 in ff, because the source is opened in a new window.
RE: How to know if I'm in Source-Mode
RE: How to know if I'm in Source-Mode
var whichMode = FCK.EditMode;
Or simply
id(!FCK.EditMode){
alert("haha, I'm in wysiwyg-mode, haha")
}