js复制代码importEditorJSfrom'@editorjs/editorjs';importHeaderfrom'@editorjs/header';importListfrom'@editorjs/list';consteditor=newEditorJS({holder:'editorjs',tools:{header:{class:Header,// 标题 class 插件inlineToolbar:['link'],// 开启行内工具,只展示链接config:{defaultLevel:1,// 默...
Basic initialisation test for Editor.js (#1410) 4年前 .gitignore Release 2.19.2 (#1597) 4年前 .gitmodules Release: 2.19 (#1364) 4年前 .npmignore Release 2.19.2 (#1597) 4年前 .postcssrc.yml Fix hover on the Delete Block button (#659) ...
Editor.js工作区由单独的区块组成:段落、标题、图像、列表、引号等。它们中的每一个都是由 Plugin 提供的独立元素(或更复杂的结构)并由 Editor's Core 连结。 干净的数据 Editor.js 输出干净的json数据而不是 HTML 标记,虽然对浏览器来说,HTML 是更直观的,但对服务器来说,json更精简更关注内容本身,易于重复...
EditorJS是一个开源的模块化编辑器,它允许开发人员构建各种富文本编辑功能。它提供了多个组件,可以用于创建不同类型的内容,如文本、标题、图像、列表、引用、代码块等。 EditorJS的主要特点包括: 模块化:每个组件都是独立的,可以根据需求自由组合和定制。
Editor.js 最大的特点就是它的模块化设计。你可以自己的项目需求选择需要的模块,也可以自己创建模块插件,来个性化定制你的编辑器。 简单的调用Api,轻松设置你的block类型和内容。 简洁的数据格式,当你输入一段话,或是插入一张图片后,Editor.js 会输出JSON 数据,让后台处理和存储变得简单方便。
editor-js-component是基于 Editorjs 封装的库,通过 monorepo 管理项目,不局限框架 Demo 示例 image.png editor-js-component editorjs-js-component是基于 Editor.js 封装的库,不局限框架,可以用于 Vue 和 React 项目 安装 # NPM npm install --save editor-js-component ...
新建.NET MAUI Blazor项目,命名Editorjs 将editorjs.umd.js和各插件js文件拷贝至项目根目录下wwwroot文件夹,文件结构如下: 在wwwroot创建editorjs_index.html文件,并在body中引入editorjs.umd.js和各插件js文件 ...
editorjs.io | documentation | changelog About Editor.js is an open-source text editor offering a variety of features to help users create and format content efficiently. It has a modern, block-style interface that allows users to easily add and arrange different types of content, such as te...
Editor.js 是一个块样式的编辑器,https://editorjs.io/,该编辑器是以块作为基本元素来的,每次编辑都是在一个块上进行编辑,主要的特点是,可以输出简洁的 JSON 而不是传统的html格式,当然也可以格式化为 html或小程序端支持的 wxml。并且可自定义插件,操作简单快捷。
Merge pull request#132from editor-js/fix-backspace-with-selection Jan 24, 2025 0b83f3f·Jan 24, 2025 History 359 Commits .github/workflows Merge branch 'main' into Move-npm-publish-to-common-workflow Nov 15, 2023 assets readme update ...