Ueditor Baidu Rich Text Editor's Initialframewidth property, the default value is 1000.
The screen width cannot be adaptively adjusted. 1:
At first, I was setting initialframewidth=null directly. Effect 2:
So the ueditor Baidu Rich Text editor will get the screen width the first time it loads, and then assign the value to the Initialframewidth property.
It's true that you can fit the width of the screen the first time it loads, but it seems to be a little over the top of the gray bar. And here's another question:
When you change the size of your browser, there is a very serious typographical bug.
Because it does not adapt to the width. You will find the editor width overflow. 3:
Solution:
1. Open/ueditor/ueditor.config.js
Locate the Initialframewidth property, which is the default valueof. initialframewidth:1000
Change the value to ' 100% ' , which is initialframewidth: ' 100% '
After saving, refresh your browser and see ...
Effect 4:
Ueditor Baidu Rich Text Editor--the solution to make the editor adaptive width