1. When you use the Ueditor editor to write content, you will find that when you enter more content, the border height of the edit box will automatically increase, if you want to enter more content when you scroll the effect of the frame.
Method: Locate the Ueditor.config.js in the root directory of the Ueditor file, open with the compiler, and see the 282~286 line code as follows:
scaleenabled// can pull high elongation, default true (when turned on, automatic long high failure) //,scaleenabled:false //,minframewidth:800 // Minimum width When the editor is dragged, default //,minframeheight:220 //editor Drag minimum height, default 220
is now modified as follows: (The minimum height of the compiler drag can be set by itself)
scaleenabled// can pull high elongation, default true (when turned on, automatic long high failure) , scaleenabled:true //,minframewidth:800 // Minimum width When the editor is dragged, default minframeheight:300, minimum height when dragging//editor, default 220
The effect is as follows:
2. Open Crawl remote image localization
Method: Open Ueditor.all.js, search "Crawl" when the following code appears:
You can see the configuration parameters in your code: the default value for the Catchremoteimageenables setting is false
Next, open the Ueditor.config.js, plus the following configuration parameter code to open (location can be arbitrary)
// Crawl remote picture is turned on, default True, catchremoteimageenable:true
3. Set the default font, font size, and other information for the Ueditor editor
Method: Open Ueditor.all.js, search "set default font and font size" when the following code appears:
Modify the above font, font size can be;
Where the ueditor comes with fonts that can be seen in Ueditor.config.js, as follows
Ueditor Rich Text Web Editor custom default setting method