Home > front end >  How to display the contents of the rich text editor to baidu website
How to display the contents of the rich text editor to baidu website

Time:01-05

UEditor manual wrote
I want to ask, how will the inside of the form the content of the editor to another interface
I am a front small white, to tell the great god, thank you!


 & lt; ! DOCTYPE HTML> 


<meta charset="utf-8" & gt;
Ueditor demo


<body>
<script id="container" name="content" type="text/plain" & gt;
Here write you initialize the contents of the
</script>

Var editor=UE. GetEditor (" container ");
</script>


CodePudding user response:

I am a rich text editor with the textarea binding, and use it every time you take the textarea value directly,
You this kind of practice, estimates that need to pass the rich text editor

CodePudding user response:

Are generally use textarea binding, you now use the form, the first thing to do is jump, content of the text box

CodePudding user response:

UEditor

- download
- the introduction of config. Js, the introduction of ueditor. Js (can be found in the config on the server's configuration, the comments)
- the textarea is placed in the page (only textarea is allowed? No, can put any label)
- initialize the editor in js: UE. GetEditor (' id ')
- sending form request, sending ajax requests, direct use, do not need other processing.

CodePudding user response:

CodePudding user response:

center city center

CodePudding user response:

such effects do

CodePudding user response:

How the rich text submitted to show on the page
  • Related