mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-12-13 07:42:23 +03:00
Lexical API: Added content module, testing and documented
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
import {EditorApiUiModule} from "./ui";
|
||||
import {EditorUiContext} from "../ui/framework/core";
|
||||
import {EditorApiContentModule} from "./content";
|
||||
|
||||
export class EditorApi {
|
||||
|
||||
public ui: EditorApiUiModule;
|
||||
public content: EditorApiContentModule;
|
||||
|
||||
constructor(context: EditorUiContext) {
|
||||
this.ui = new EditorApiUiModule(context);
|
||||
this.content = new EditorApiContentModule(context);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user