mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
🚨
This commit is contained in:
parent
c8bc6f3013
commit
5d70f3cf64
5 changed files with 19 additions and 19 deletions
|
|
@ -202,7 +202,7 @@ export const editor = {
|
|||
onSetEditor: (editor: IEditor) => {
|
||||
window.siyuan.config.editor = editor;
|
||||
getAllModels().editor.forEach((item) => {
|
||||
reloadProtyle(item.editor.protyle)
|
||||
reloadProtyle(item.editor.protyle);
|
||||
setPadding(item.editor.protyle);
|
||||
if (window.siyuan.config.editor.fullWidth) {
|
||||
item.editor.protyle.contentElement.setAttribute("data-fullwidth", "true");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue