5f3a5aa652
(cherry picked from commit 7709559f50749400664634d1b6fc25cdd2d26735)
1.2 KiB
1.2 KiB
22. Fix double vertical scroll bar when hide status bar
Date: 2023-04-21
Status
- Issue: #1740
Context
- Root cause:
- When we using
html_editor_enhancedlib can't auto resizeHTML Iframewhen changing the size of the screen .note-editor.note-airframe .note-editing-area .note-editable,.note-editor.note-frame .note-editing-area .note-editablehas an overridden padding under the widgets- When enabling
Code Viewmodem has an overridden padding under the widgets. Can't see break line
- When we using
Decision
- Use
setFullScreentoHTML Iframefor the purpose of automatically resizing when there are changes - Remove padding of
.note-editor.note-airframe .note-editing-area .note-editable,.note-editor.note-frame .note-editing-area .note-editable - Enable resize editor
disableResizeEditor: false - Remove padding of
.note-editor.note-airframe .note-editing-area .note-codable,.note-editor.note-frame .note-editing-area .note-codablewhen enablingCode Viewmode
Consequences
- No longer appear two vertical scroll bars of content on the editor
- Automatically resize
HTML Iframefor dimensions