Click here to Skip to main content
15,879,535 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I made project use asp.net mvc and CKEditor inline. I want to save my editable text area field in HTML file to database. I still don't know how to do that. I tried to use inlinesave plug in but its confused. Could some body help me?

What I have tried:

I want to save my editable text area field in HTML file to database.
Posted
Updated 4-Jan-17 2:30am

1 solution

Please Check Documentation Link will Help

CKEditor 4 Documentation[^]
<div id="editor1" contenteditable="true">
    <h1>Inline Editing in Action!</h1>
    <p>The "div" element that contains this text is now editable.
</div>

<script>
    var data = CKEDITOR.instances.editor1.getData();

    // Your code to save "data", usually through Ajax.
</script>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900