mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Lexical: Started loading real content, Improved html loading
Added more styling/layout for buttons and main content area
This commit is contained in:
@ -29,8 +29,12 @@ export function createPageEditorInstance(container: HTMLElement, htmlContent: st
|
||||
|
||||
const editArea = el('div', {
|
||||
contenteditable: 'true',
|
||||
class: 'editor-content-area page-content',
|
||||
});
|
||||
container.append(editArea);
|
||||
const editWrap = el('div', {
|
||||
class: 'editor-content-wrap',
|
||||
}, [editArea]);
|
||||
container.append(editWrap);
|
||||
container.classList.add('editor-container');
|
||||
|
||||
const editor = createEditor(config);
|
||||
|
Reference in New Issue
Block a user