Following are the simple codding lines to use CKEditor in a form..
<!DOCTYPE html> <html > <head> <script src="https://cdn.ckeditor.com/ckeditor5/36.0.0/classic/ckeditor.js"> </script> </head> <body> <form action="sample_posteddata.php" method="post"> <TEXTAREA name="Name" id="editor" class="input-sm form-control" ></TEXTAREA> <input type="submit" value="Submit" /> </form> </body> <script> </html> |
Q. If there is any issue with form submission , what is solution ?
Answer: Please remove the “required” attribute from the input TextArea field . It will definitely resolved your issue