Skip to content

projecao/simditor-date-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📅 simditor-date-button

Add a date button for Simditor. Use the date button to add the current date in the editor.

simditor-date-button.gif

Install with NPM

npm install simditor-date-button --save

Usage

Reference button and dependency script on your page with Simditor:

<script type="text/javascript" src="[path]/simditor.js"></script>
<script type="text/javascript" src="[path]/simditor-date-button.js"></script>

Add date button config when you initialize Simditor:

var editor = new Simditor({
  textarea: $('#txt-editor'),
  toolbar: [..., 'date']
});

LICENSE

The MIT License

About

simditor-date-button

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published