mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Add visual preview (#26947)
GitOrigin-RevId: f77b59219909971b11416f196783b3ab7198ed91
This commit is contained in:
@@ -94,7 +94,7 @@ const parsedAttributesConf = new Compartment()
|
||||
* A view plugin which shows the editor content, makes it focusable,
|
||||
* and restores the scroll position, once the initial decorations have been applied.
|
||||
*/
|
||||
const showContentWhenParsed = [
|
||||
export const showContentWhenParsed = [
|
||||
parsedAttributesConf.of([EditorView.editable.of(false)]),
|
||||
ViewPlugin.define(view => {
|
||||
const showContent = () => {
|
||||
|
||||
Reference in New Issue
Block a user