File tree Expand file tree Collapse file tree
apps/docs/snippets/extensions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,37 +67,6 @@ import { SuperDocEditor } from '/snippets/components/superdoc-editor.jsx'
6767 }
6868 },
6969 ],
70- [
71- {
72- label: ' Lock inline (sdtContentLocked)' ,
73- onClick : (superdoc ) => {
74- const editor = superdoc ?.activeEditor || superdoc ?.editor
75- if (! editor ?.commands ) return
76- editor .commands .updateStructuredContentById (' 1' , {
77- attrs: { lockMode: ' sdtContentLocked' },
78- });
79- }
80- },
81- {
82- label: ' Lock block (sdtContentLocked)' ,
83- onClick : (superdoc ) => {
84- const editor = superdoc ?.activeEditor || superdoc ?.editor
85- if (! editor ?.commands ) return
86- editor .commands .updateStructuredContentById (' 2' , {
87- attrs: { lockMode: ' sdtContentLocked' },
88- });
89- }
90- },
91- {
92- label: ' Unlock all' ,
93- onClick : (superdoc ) => {
94- const editor = superdoc ?.activeEditor || superdoc ?.editor
95- if (! editor ?.commands ) return
96- editor .commands .updateStructuredContentById (' 1' , { attrs: { lockMode: ' unlocked' } });
97- editor .commands .updateStructuredContentById (' 2' , { attrs: { lockMode: ' unlocked' } });
98- }
99- },
100- ],
10170 [
10271 {
10372 label: ' Delete all fields' ,
You can’t perform that action at this time.
0 commit comments