@atlaskit/editor-plugin-base
Version:
Base plugin for @atlaskit/editor-core
7 lines • 306 B
JavaScript
import { getScrollGutterPluginState } from '../plugin-key';
export var getKeyboardHeight = function getKeyboardHeight(state) {
if (state) {
var scrollGutterPluginState = getScrollGutterPluginState(state);
return scrollGutterPluginState ? scrollGutterPluginState.keyboardHeight : undefined;
}
};