simditor-date-button

0.0.8 • Public • Published

📅 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

Package Sidebar

Install

npm i simditor-date-button

Weekly Downloads

12

Version

0.0.8

License

ISC

Last publish

Collaborators

  • anteriovieira