From 5573708804a056d2568820dda87377904a27d7c9 Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Sat, 19 Sep 2020 15:58:24 +0200 Subject: [PATCH] Update refresh JSDoc --- src/editor/index.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/editor/index.js b/src/editor/index.js index 0c513acaa..808b8eba5 100644 --- a/src/editor/index.js +++ b/src/editor/index.js @@ -481,14 +481,13 @@ export default (config = {}) => { }, /** - * Update editor dimensions and refresh data useful for positioning of tools + * Update editor dimension offsets * * This method could be useful when you update, for example, some position * of the editor element (eg. canvas, panels, etc.) with CSS, where without - * refresh you'll get misleading position of tools (eg. rich text editor, - * component highlighter, etc.) - * - * @private + * refresh you'll get misleading position of tools + * @param {Object} [options] Options + * @param {Boolean} [options.tools=false] Update the position of tools (eg. rich text editor, component highlighter, etc.) */ refresh(opts) { em.refreshCanvas(opts);