ArtEditor is a jQuery-based mobile Rich Text Editor that supports image insertion and other functions. Next, I will introduce the form submission FUNCTION OF THE ArtEditor Rich Text Editor. If you are interested in the arteditor Editor, join us.
Abstract:
ArtEditor. js is a mobile Rich Text Editor that supports image uploading and adds functions such as facial expressions and small videos. A friend recently reported whether artEditor supports form submission. Of course, it is supported. Before developing this function, you can implement form submission as follows:
$ ('. Submit '). on ('click', function (e) {e. preventDefault (); $ ('. den den '). val ($ ('# artEditor '). getValue (); $ (this ). submit ();});
New features:
The formInputId parameter is added. This parameter indicates the id of the form hidden domain. The editor content is placed in the hidden domain, as shown below:
Script $ ('# artEditor'). artEditor ({formInputId: 'target'}); script
Related reading:
JQuery mobile artEditor Rich Text Editor
For more information about how to add the form submission function in the ArtEditor Rich Text Editor, I hope it will help you!