import { hasParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
export const isInLayoutColumn = state => {
  return hasParentNodeOfType(state.schema.nodes.layoutSection)(state.selection);
};