This article mainly introduces how to integrate node. js with the Baidu UE editor. For more information, see
Abstract:
I recently set up my own blog. I may not be able to write a blog for a while, but I still want to share some good things with you. Blog websites must have an editor for editing articles, so they checked some information online. The background of most Editors is based on java, php, asp, and so on, and few are based on node. js. Originally, I wanted to use markdown to write articles, but the style was not well tuned. So I finally chose Baidu's ueditor. its official website does not have code based on node. js. Fortunately, I found a similar one on github, so I will share it with you. If you plan to use node. js to develop your own blog, refer to it.
Download reference:
First, go to the ueditor official website to download the code. I downloaded the development version 1.4.3php UTF-8. decompress the package and place the file in the public directory. Here I rename it as ueditor. Add these three lines to the header of the page you need.
The Code is as follows: