jodit-tributejs
v1.0.1
Published
tributejs and Jodit
Downloads
4
Readme
Jodit and TributeJS
Install
npm i jodit-tributejs
In page
<!-- Jodit -->
<link rel="stylesheet" href="../node_modules/jodit/build/jodit.min.css">
<script src="./node_modules/jodit/build/jodit.min.js"></script>
<!-- TributeJS -->
<link rel="stylesheet" href="../node_modules/tributejs/dist/tribute.css">
<script src="./node_modules/tributejs/dist/tribute.min.js"></script>
<!-- plugin -->
<script src="./node_modules/jodit-tributejs/index.js"></script>
And simple init Jodit
<textarea id="editor" cols="30" rows="10"></textarea>
<script>
var editor = new Jodit('#editor');
</script>
Enter @ char