1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-20 21:59:42 +02:00

Provide each doc section with TOC controls

Put up/down/indent/outdent options on the section menu dropdown for easier TOC manipulation.
This commit is contained in:
Harvey Kandola 2018-06-01 11:49:09 +01:00
parent d5157615e0
commit 716bd062d7
9 changed files with 333 additions and 138 deletions

View file

@ -63,7 +63,7 @@ export default Component.extend(TooltipMixin, {
this.removeTooltips();
},
onDocumentPageAdded(pageId) { // eslint-disable-line no-unused-vars
onDocumentPageAdded(pageId) {
schedule('afterRender', () => {
this.setState(pageId);
});