This plugin will leverage jsfs to add load and save functionality to a TinyMCE instance. It assumes that both TinyMCE and jsfs have been loaded into the global namespace, so that it can access both.
To use this module in your page, you must:
<script src="https://cloud.tinymce.com/stable/tinymce.min.js"></script>
<script language='javascript' src='https://cdn.jsdelivr.net/npm/lz-string@1.4.4/libs/lz-string.min.js'></script>
<script src="https://cdn.jsdelivr.net/gh/nathancarter/jsfs@1/release/jsfs.min.js"></script>
example.html
.tinymce.init
, be sure to include these options.
plugins: "-loadsave"
newfile
, openfile
, savefile
,
saveas
, and managefiles
To see all this in action, check out the example page.