header
header copied to clipboard
Couldn't load Header tool in toolbox
trafficstars
I'm using HTML template engine that comes with go-fiber. I think I've set the configuration properly and other tools like quotes have been shown on the toolbox. But the Header tool still isn't showing. This is my config js:
const editor = new EditorJS({
holder: 'editorjs',
autofocus: true,
tools: {
image: SimpleImage,
quote: Quote,
header: Header
},
data: {}
})
Here is my HTML:
<head>
<!-- Editor.js -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/bundle.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@editorjs/quote@latest"></script>
<script src="https://cdn.jsdelivr.net/npm/@editorjs/simple-image@latest"></script>
<script src="https://cdn.jsdelivr.net/npm/@editorjs/editorjs@latest"></script>
<!-- <script src="https://cdn.jsdelivr.net/npm/@editorjs/[email protected]"></script> -->
</head>
<body>
<div id="editorjs"></div>
<!-- Bootstrap core JS-->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<!-- Core theme JS-->
<script src="/js/scripts.js"></script>
<!-- Custom js -->
<script src="/js/editor.js"></script>
</body>
Same issue here
also same problem