Skip to content

jodit/jodit-tributejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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