✍🏻 Display Editor importReact,{useState}from'react';import{MdEditor}from'md-editor-rt';import'md-editor-rt/lib/style.css';exportdefault()=>{const[text,setText]=useState('# Hello Editor');return<MdEditormodelValue={text}onChange={setText}/>;}; ...
importReact,{useState}from'react';importMdEditorfrom'md-editor-rt';import'md-editor-rt/lib/style.css';exportdefault()=>{const[data]=useState({text:'',toobars:['bold','underline','italic','strikeThrough','sub','sup','quote','unorderedList','orderedList','codeRow','code','link','ima...
md-editor-rt是一个react markdown编辑框架。 import{ useState }from"react";import{MdEditor}from"md-editor-rt";import"md-editor-rt/lib/style.css";exportdefault() => {const[text, setText] =useState("# Hello Editor");return<MdEditormodelValue={text}onChange={setText}/>; }; 在astro下样式...
"md-editor-rt provides a Markdown editor for React, developed in jsx and typescript. It offers built-in themes, a toolbar, shortcut keys, image upload, clipping and more."📊 StatisticsSocial Media Links Github imzbf/md-editor-rt 363 ⬆️ Latest commit: 4 days ago 📦️ Latest...
md-editor-rt 是前段时间学习 vue3 时开发的一个 vue3 版本编辑器 md-editor-v3 的同系列我的项目,它是 react 版本的,因为 vue3 版本的也是应用tsx实现的,所以 react 版本的代码相差不大。 作者的博客前端内容是应用nextjs开发的,而内容治理又是应用vue开发的,提取编辑文章和内容渲染的性能造成了这个我的项目...
importReact,{useState}from'react';import{MdEditor}from'md-editor-rt';import'md-editor-rt/lib/style.css';exportdefault()=>{const[text,setText]=useState('# Hello Editor');return<MdEditormodelValue={text}onChange={setText}/>;}; 📖 Preview Only ...
🌟 MdEditor组件新增 catalogLayout 属性。 🌟 支持编辑区域与目录的互动。 重构 ⭐️ 没有预览区域时,滚动条始终存在问题。 修复问题 🐞 只有编辑区域时目录状态同步错误。 New Features 🌟 Added event onRemount. 🌟 Added toolbar extension attribute extraTools for code blocks, Demo. 🌟 New ...
md-editor-rt是前段时间学习vue3时开发的一个vue3版本编辑器md-editor-v3的同系列项目,它是react版本的,因为vue3版本的也是使用tsx完成的,所以react版本的代码相差不大。 作者的博客前端内容是使用nextjs开发的,而内容管理又是使用vue开发的,提取编辑文章和内容渲染的功能形成了这个项目。
md-editor-rt是前段时间学习vue3时开发的一个vue3版本编辑器md-editor-v3的同系列项目,它是react版本的,因为vue3版本的也是使用tsx完成的,所以react版本的代码相差不大。 作者的博客前端内容是使用nextjs开发的,而内容管理又是使用vue开发的,提取编辑文章和内容渲染的功能形成了这个项目。 1. 预览 1.1 功能预览 ...
Markdown editor for react, developed in jsx and typescript, dark theme、beautify content by prettier、render articles directly、paste or clip the picture and upload it... - 5.3.0 · imzbf/md-editor-rt@5df49ee