Ueditor Baidu Rich Text Editor's Initialframewidth property, the default value is 1000.
The screen width cannot be adaptive. Figure 1:
At the beginning, I set the initialframewidth=null directly. The effect is shown in Figure 2:
This ueditor Baidu Rich Text editor gets the screen width at the first load and assigns the value to the Initialframewidth property.
It's true that you can fit the screen width the first time you load it, but it seems to be a little over the width, over the gray bar. And here's another question:
When you change the size of the browser, there is a serious typographical bug.
Because it will not be adaptive to width. So you'll find the editor width overflow. Figure 3:
Solution:
1. Open/ueditor/ueditor.config.js
Find the Initialframewidth property, the default value is 1000. That's initialframewidth:1000.
Change the value to ' 100% ', which is initialframewidth: ' 100% '
After saving, refresh the browser and see ...
The effect is shown in Figure 4: