diff --git a/packages/tiptap-extensions/src/extensions/Placeholder.js b/packages/tiptap-extensions/src/extensions/Placeholder.js index 03a6775f4..2d96ae13f 100644 --- a/packages/tiptap-extensions/src/extensions/Placeholder.js +++ b/packages/tiptap-extensions/src/extensions/Placeholder.js @@ -16,9 +16,8 @@ export default class Placeholder extends Extension { } get update() { - return ({ state, view }) => { - // TODO: fix error when content is not empty - view.updateState(state) + return view => { + view.updateState(view.state) } }