Home  >  Q&A  >  body text

How does Baidu Rich Text Editor submit data to the backend?

I know that input is submitted using name identification, so the rich text editor writes it like this<script id="editor" type="text/plain" style="width:100%;height:400px;"> </script>, where is the name written, and how can it be recognized by the background?

phpcn_u30422phpcn_u304222199 days ago1950

reply all(2)I'll reply

  • 雪梦晨、曦

    雪梦晨、曦2018-09-20 11:58:09

    Hello *** document, look at the Baidu rich text index.html file, there is the obtained code, assign it to <input type="hidden">, ajax, or form submission

    reply
    0
  • 天忆

    天忆2018-09-17 17:46:13

    You can textarea <textarea id="editor" name="content"> and then initialize it in js var ue = UE.getEditor('editor')

    reply
    0
  • Cancelreply