summaryrefslogtreecommitdiff
path: root/public/js/lib/editor
diff options
context:
space:
mode:
authorYukai Huang2017-04-09 21:14:23 +0800
committerYukai Huang2017-05-07 20:37:27 +0800
commitc6c11c54ef62ed5c87dc7eb8139805a2889cbcc8 (patch)
tree907734b1cd8d7203985026d8cb032485e672c6d0 /public/js/lib/editor
parentdb06a51299e0888b07062cefd780d514d09ebd37 (diff)
Expose internal editor config variable
Diffstat (limited to 'public/js/lib/editor')
-rw-r--r--public/js/lib/editor/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/js/lib/editor/index.js b/public/js/lib/editor/index.js
index 8cab486c..2991998b 100644
--- a/public/js/lib/editor/index.js
+++ b/public/js/lib/editor/index.js
@@ -119,6 +119,7 @@ export default class Editor {
}
}
this.eventListeners = {}
+ this.config = config
}
on (event, cb) {