editorjs简单示例代码

代码语言:html

所属分类:其他

代码描述:editorjs简单示例代码

代码标签: editorjs 简单 示例 代码

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">


  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
</head>
<body>


      <div id="editorjs"></div>

     

  <!-- Load Editor.js's Core -->
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/editorjs/editorjs.js"></script>

  <!-- Initialization -->
  <script>

 
    var editor = new EditorJS({
      /**
       * Enable/Disable the read only mode
       */
      readOnly: false,

      /**
       * Wrapper of Editor
       */
      holder: 'editorjs',

      /**
       * Common Inline Toolbar settings
       *.........完整代码请登录后点击上方下载按钮下载查看

网友评论0