Commit fc4a9b07 authored by chris's avatar chris

fix

parent b47c3764
......@@ -51,12 +51,13 @@ class Wax extends Component {
const editorContent = value ? value : "";
if (plugins) defaultPlugins.push(...plugins);
const finalPlugins = defaultPlugins.concat([
placeholder({ content: this.props.placeholder }),
WaxShortCuts,
WaxRules
]);
if (plugins) finalPlugins.push(...plugins);
this.WaxOptions = {
schema,
......
......@@ -6,7 +6,6 @@ import { EditorView } from "prosemirror-view";
import placeholderPlugin from "./config/plugins/placeholderPlugin";
import "prosemirror-view/style/prosemirror.css";
import "prosemirror-gapcursor/style/gapcursor.css";
import trackedTransaction from "./config/track-changes/trackedTransaction";
class WaxView extends Component {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment