diff --git a/package.json b/package.json index bda4fe47..d986a723 100644 --- a/package.json +++ b/package.json @@ -111,10 +111,12 @@ "prosemirror-inputrules": "^0.12.0", "prosemirror-keymap": "^0.12.0", "prosemirror-markdown": "^0.12.0", + "prosemirror-model": "^0.12.0", "prosemirror-schema-basic": "^0.12.0", "prosemirror-schema-list": "^0.12.0", "prosemirror-schema-table": "^0.12.0", "prosemirror-state": "^0.12.0", + "prosemirror-transform": "^0.12.1", "prosemirror-view": "^0.12.0", "react": "^15.1.0", "react-addons-css-transition-group": "^15.3.1", diff --git a/src/components/Widgets/MarkdownControlElements/RawEditor/BlockMenu.css b/src/components/Widgets/MarkdownControlElements/BlockMenu.css similarity index 100% rename from src/components/Widgets/MarkdownControlElements/RawEditor/BlockMenu.css rename to src/components/Widgets/MarkdownControlElements/BlockMenu.css diff --git a/src/components/Widgets/MarkdownControlElements/RawEditor/BlockMenu.js b/src/components/Widgets/MarkdownControlElements/BlockMenu.js similarity index 92% rename from src/components/Widgets/MarkdownControlElements/RawEditor/BlockMenu.js rename to src/components/Widgets/MarkdownControlElements/BlockMenu.js index 0e060a6d..ad068a95 100644 --- a/src/components/Widgets/MarkdownControlElements/RawEditor/BlockMenu.js +++ b/src/components/Widgets/MarkdownControlElements/BlockMenu.js @@ -1,7 +1,7 @@ import React, { Component, PropTypes } from 'react'; import { fromJS } from 'immutable'; import { Button } from 'react-toolbox/lib/button'; -import { resolveWidget } from '../../../Widgets'; +import { resolveWidget } from '../../Widgets'; import styles from './BlockMenu.css'; export default class BlockMenu extends Component { @@ -49,7 +49,7 @@ export default class BlockMenu extends Component { } buttonFor(plugin) { - return (