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
Tue, 07/31/2007 - 21:34
#1
kevnews
Joined:
31/07/2007
Posts:
1
getting contents of user input to do custom javascript submi
Tue, 07/31/2007 - 21:44
#2
maudib
Joined:
29/07/2007
Posts:
17
Re: getting contents of user input to do custom javascript submi
Getting the editor contents with Javascript is easy.
var oEditor = FCKeditorAPI.GetInstance('FCKeditor_psBasic') ;
alert( oEditor.GetXHTML( true )) ;
Take a look at HTML Example 8 and you will see other useful methods as well.
MD
Twitter
Facebook
Facebook
Instagram
Medium
Linkedin
GitHub
Arrow down
Phone
Menu
Close icon
Check
Re: getting contents of user input to do custom javascript submi
var oEditor = FCKeditorAPI.GetInstance('FCKeditor_psBasic') ;
alert( oEditor.GetXHTML( true )) ;
Take a look at HTML Example 8 and you will see other useful methods as well.
MD