React 中文文档 Beta 版 首页学习API Search⌘K 安装 创建一个 React 新项目 为网站添加 React 设置编辑器 React 开发者工具 快速入门 绘制用户界面(UI) 添加交互 管理状态 Escape Hatches Feedback 学习React 安装 设置编辑器 一个正确配置的编辑器能够让读代码更清晰、写代码更快。它甚至可以帮你...
将debounceTimer 值降低到 200 毫秒以下将使 editorjs-undo 更频繁地保存更改。 将 debounceTimer 值提高到 200 毫秒以上将使 editorjs-undo 保存更改的频率降低。 将debounceTimer 值设置为 0 会使 editorjs-undo 将输入的每个字符保存为单独的更改,这使得撤消和重做操作一次只能删除/替换一个字符。
editorjs-inline 使用 元素和GoogleChrome/dialog-polyfill。 请在您的文档中加载dialog-polyfill.css。 Build yarn webpack Format yarn fix Run tests yarn test Author 羽田智之hato6502@gmail .com Contributing 欢迎贡献、问题和功能请求! 请随时查看问题页面。 Show your support 如果这个项目对你有帮助,请给...
在您的应用程序中获取包含模块的 importTaggerfrom'node_module/editorjstagger/dist/bundle.js'; Other methods Loading from CDN Usage 将新工具添加到 Editor.js 初始配置的工具属性中 importTaggerfrom'node_module/editorjstagger/dist/bundle.js';// or if you inject Tagger via standalone scriptconstTagger...
https://cdn.jsdelivr.net/npm/editorjs-button@1.0.4 Usage Add a new Tool to thetoolsproperty of the Editor.js initial config. tools:{AnyButton:{class:AnyButton,inlineToolbar:false,config:{css:{"btnColor":"btn--gray",}}},},i18n:{messages:{tools:{"AnyButton":{'Button Text':'ボタン...
editorjs-change-case 中文文档教程 Change Case Inline Tool 编辑器的更改大小写工具.js。 Installation Install via NPM 获取包 npm i --save-dev editorjs-change-case 或 yarn add editorjs-change-case 在您的应用程序中包含模块 importChangeCasefrom'editorjs-change-case';...
npx install-peerdeps --dev editorjs-inline-tool # or yarn add editorjs-inline-tool -D --peer Usage 这是在 React 应用程序中使用GenericInlineTool的示例(使用@natterstefan/react-editor-js)。 但这也适用于任何其他框架。 // index.js import EditorJs from '@natterstefan/react-editor-js' ...
editorjs-hyperlink 中文文档教程 Hyperlink Tool 一个工具链接与目标 &Editor.js的 rel 属性。 < img src="https://user-images.githubusercontent.com/22043198/98481956-afe92980-2230-11eb-9a84-f22149befbc0.png" alt="屏幕截图 2020-11-08 at 23 51 43">...
editorjs-style 中文文档教程 Welcome to editorjs-style ??? Editor.js 的内联样式工具 Motivation Editor.js 可能需要许多内联工具来设置内联元素的样式。 editorjs-style 提供将任何 id、class 和 style 附加到内联元素的功能。 ✨Demo Install Install via yarn ...
editorjs-layout-testing 中文文档教程 Welcome to editorjs-layout ??? Editor.js 的布局块工具。 替代解决方案:editorjs-inline ✨Demo Install Install via yarn yarn add editorjs-layout Load from CDN Usage 请参阅演示 HTML。 Config params 请参阅LayoutBlockToolConfig的类型声明。