This plugin is for use with SimplePersonalSiteJavaServer. It allows you to make edits in your browser instead of in a separate editor.
- follow directions to setup a SimplePersonalSiteJavaServer.
- symlink
PluginInBrowserEdits.cssandPluginInBrowserEdits.jsfrom this repo to the plugins directory of your site - include
PluginInBrowserEdits.jsas a script inindex.htmlbelowSimplePersonalSite.js
<script src='plugins/PluginInBrowserEdits.js'></script>
- Tell the app to initialize the plugin by passing
PluginInBrowserEdits.plugintoapp.run()inindex.html
- if you only have one plugin, this looks like:
app.run([PluginInBrowserEdits.plugin])- if you need to change the default port (8000), Change the value
PluginInBrowserEdits.portafter importing PluginInBrowserEdits to your index.html but before executing the plugin.