npm update jodit-react Run demo npm install --dev npm run demo and open http://localhost:4000/ Usage 1. Require and use Jodit-react component inside your application. importReact,{useState,useRef,useMemo}from'react';importJoditEditorfrom'jodit-react';constExample=({placeholder})=>{consteditor...
我正在使用名为 jodit-react 的文本编辑器 npm 包。我想使用我自己的自定义主题。但我无法获得使用自定义主题的正确文档。有人在这个包上使用过自定义主题吗? 我只能使用该包的深色和浅色主题reactjs themes jodit 1个回答 0投票 为了为 Jodit 编辑器创建自定义主题,您必须在编辑器的配置中设置主题名称: const...
Run demo npm install --dev npm run demo and open http://localhost:4000/ Usage 1. Require and use Jodit-react component inside your application. importReact,{useState,useRef,useMemo}from'react';importJoditEditorfrom'jodit-react';constExample=({placeholder})=>{consteditor=useRef(null);const[cont...