Documentation
Toolbar
toolbar.sticky #
Occurs whenever the toolbar is sticky and has the position: fixed
property after scrolling down the page or target element.
ArticleEditor('#entry', {
css: '/your-article-dist-path/',
subscribe: {
'toolbar.sticky': function() {
...
}
}
});
toolbar.static #
Occurs whenever the toolbar is static and has the position: static
property after scrolling to the top of the editor.
ArticleEditor('#entry', {
css: '/your-article-dist-path/',
subscribe: {
'toolbar.static': function() {
...
}
}
});