jodit/jodit-react

"paste code" plugin is not working in Next.js

RanaWaqar7550 opened this issue · 0 comments

I've been trying to add paste code plugin but i'm unable to see the paste code button on the toolbar.

const configrations = useMemo(() => {
readonly: false,
buttons: [
    "center",
    "bold",
    "italic",
    "ul",
    "ol",
    "left",
    "right",
    "font",
    "paragraph",
    "link",
    "undo",
    "underline",
],
extraPlugins: ['pasteCode']
}, []);
 <Jodit
      ref={ref}
      value={value}
      config={config}
      tabIndex={1} 
      onBlur={onBlur} 
      onChange={onChange}
    />

https://xdsoft.net/jodit/pro/docs/plugin/paste-code/

Please someone help me with this?