span with id or data-id #182
Unanswered
thecoderme
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi, how can I assign data-id or id value since I added code to the editor with the function below. The function works but data-id and id value is not passed to the editor.
const tableUllan = () => {
const editor = editorRef?.current?.editor;
if (editor) {
editor.chain().focus().insertContent(' ' + indexTableData?.indexDescription + ' ').run();
}
};
Beta Was this translation helpful? Give feedback.
All reactions