-
How can I place my input component in a place where my cursor is (inline, between some text) not in new line? |
Beta Was this translation helpful? Give feedback.
Answered by
Andonee
Dec 7, 2022
Replies: 1 comment
-
Solved this by adding isInline: true to createPluginFactory: const createCustomInputPlugin = createPluginFactory({ |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Andonee
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solved this by adding isInline: true to createPluginFactory:
const createCustomInputPlugin = createPluginFactory({
key: "variable-node",
type: "variable-node",
isElement: true,
isVoid: true,
isInline: true,
component: CustomInput,
});