UNPKG

@atlaskit/editor-plugin-help-dialog

Version:

Help Dialog plugin for @atlaskit/editor-core

7 lines 242 B
import { pluginKey } from './plugin-key'; export var openHelpAction = function openHelpAction(tr) { return tr.setMeta(pluginKey, true); }; export var closeHelpAction = function closeHelpAction(tr) { return tr.setMeta(pluginKey, false); };