The forum operates in read-only mode. Please head to StackOverflow for support.
How I can get html content from ckeditor 4.x via javascript? I can validate form before submit.
Have you tried getData?
Customer and Community Manager, CKSource Follow us on: Facebook, Twitter, LinkedIn If you think you found a bug in CKEditor, read this!
Please, write example with getData. I understand documentation very bad.
I have code:
<textarea id="comment" name="comment" class="ckeditor"></textarea>
<input type="submit" class="button" name="sendComment" id="sendComment" onclick="addComment();" value="Send">
When I click to button Send I want get comment content. How I get it?
I found the solution:
var content = CKEDITOR.instances['comment'].getData();
Have you tried getData?
Have you tried getData?
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Please, write example with
Please, write example with getData. I understand documentation very bad.
I have code:
<textarea id="comment" name="comment" class="ckeditor"></textarea>
<input type="submit" class="button" name="sendComment" id="sendComment" onclick="addComment();" value="Send">
When I click to button Send I want get comment content. How I get it?
I found the solution:
I found the solution:
var content = CKEDITOR.instances['comment'].getData();