https://github.com/lrusso/tinymcespreadsheetplugin
Spreadsheet plugin for TinyMCE
https://github.com/lrusso/tinymcespreadsheetplugin
Last synced: 8 months ago
JSON representation
Spreadsheet plugin for TinyMCE
- Host: GitHub
- URL: https://github.com/lrusso/tinymcespreadsheetplugin
- Owner: lrusso
- License: lgpl-2.1
- Created: 2019-03-14T03:08:57.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-19T20:50:58.000Z (about 7 years ago)
- Last Synced: 2025-03-06T08:38:38.907Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 715 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
# TinyMCE Spreadsheet Plugin
The plugin stores the cell formula as a class name in the cell tag and inserts the result as the cell value.
Operators + - * / % ( ) and cells references are allowed.

## Demo
https://lrusso.github.io/TinyMCESpreadsheetPlugin/demo.htm
## Formulas examples
| FORMULA | DETAILS |
| :------------ |:--------------- |
| 1+2+3 | Simple formula |
| A1+A2+A3 | Cell referenced formula |
| (A1+A2+A3)+100 | Cell referenced formula with additional math |
| "$ "+((A1+A2+A3)+100) | Cell referenced formula with additional math and text |
| "$ "+((A1:A3)+100) | Cell range formula with additional math and text |
| "$ "+((A1:B3)+100) | Cell range formula with additional math and text |
## How to add it to TinyMCE
Add the Spreadsheet plugin script to your TinyMCE Web:
```
```
Add the plugin references into your TinyMCE configuration:
```
plugins: "spreadsheet",
toolbar1: "spreadsheet",
```