mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-26 08:04:56 +01:00
Fix readOnly on editor
This commit is contained in:
parent
ddd4d91b22
commit
8e5dc1db6c
@ -4,7 +4,7 @@ import { PersistenceManager, LocalStorageManager } from '../../../../src';
|
|||||||
|
|
||||||
const example = async () => {
|
const example = async () => {
|
||||||
const p = new LocalStorageManager('samples/{id}.xml');
|
const p = new LocalStorageManager('samples/{id}.xml');
|
||||||
const options = buildDefaultOptions(p, true);
|
const options = buildDefaultOptions(p);
|
||||||
const designer = buildDesigner(options);
|
const designer = buildDesigner(options);
|
||||||
|
|
||||||
designer.addEvent('loadSuccess', () => {
|
designer.addEvent('loadSuccess', () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user