我们选择了 CodeMirror,这是一款优秀的编辑器,它对开发者提供了丰富的编程接口,对各种浏览器的兼容性也比较好。 再后来,随着我们项目业务需求方面的沉淀,使用 CodeMirror 有时候会感到比较“笨重”。比如要实现 @自动完成用户名列表、插入 Emoji、上传文件等就需要比较深入的二次开发,而这些业务需求恰恰是很多项目场景...
remark-lint-code-block-style 3.1.0 间接依赖 npm @babel/plugin-transform-reserved-words 7.16.7 间接依赖 npm rc-util 5.22.5 间接依赖 npm symbol-observable 4.0.0 间接依赖 npm path-exists 4.0.0 间接依赖 npm spdx-correct 3.1.1 间接依赖 npm nullthrows 1.1.1 间接依赖 npm codemirror 5.65.6 间...
wp-prettier-2.8.5 .github bin changelog_unreleased docs scripts src tests types vendors website .codecov.yml .editorconfig .eslintignore .eslintrc.js .git-blame-ignore-revs .gitattributes .gitignore .gitpod.yml .ignore .prettierignore .prettierrc ...
CodeMirror wp-codemirror 5.29.1-alpha-ee20357 MIT imgAreaSelect imgareaselect jquery 0.9.8 MIT AND GPL Removed from Core Script NameHandleRemoved VersionReplaced With Scriptaculous Root scriptaculous-root WP 3.5 Google Version Scriptaculous Builder scriptaculous-builder WP 3.5 Google Version Scriptaculous Drag...
目前涉及到代码编辑的场景基本使用的都是codemirror,因为它功能强大,使用简单,支持语法高亮、支持多种语言和主题等,但是为了能更方便的支持语法提示,本文选择的是微软的monaco-editor,功能和VSCode一样强大,VSCode有多强就不用我多说了,缺点是整体比较复杂,代码量大,内置主题较少。
Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up {...
{ "version": "1.1.2", "resolved": "https://registry.npmjs.org/codemirror-spell-checker/-/codemirror-spell-checker-1.1.2.tgz", "integrity": "sha1-HGYPkIlIPMtRE7m6nKGcP0mTNx4=", "requires": { "typo-js": "1.0.3" } }, "color": { "version": "0.11.4", "resolved": "http:/...