Code Editor

A plugin to allow users to edit html and css code on GrapesJS.

Instruction:

+
<link href="https://unpkg.com/grapesjs/dist/css/grapes.min.css" rel="stylesheet"/>
<script src="https://unpkg.com/grapesjs"></script>
<script src="path/to/grapesjs-code-editor.min.js"></script>

<div id="gjs"></div>

<script type="text/javascript">
  var editor = grapesjs.init({
      container: '#gjs',
      commands: {
        defaults: [
          window['grapesjs-code-editor'].codeCommand,
        ],
      },
      panels: window['grapesjs-code-editor'].panels,
  });
</script>
Share this item:
Last Update:Sep 22, 2022
Published:Sep 22, 2022
Versions:
0.16.x0.17.x0.18.x
0

0 reviews

5
0
4
0
3
0
2
0
1
0

Product Reviews (0)

Sort By :

No Reviews Found

Question and Answers (0)

No question found

Share this item: