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.css
andPluginInBrowserEdits.js
from this repo to the plugins directory of your site - include
PluginInBrowserEdits.js
as a script inindex.html
belowSimplePersonalSite.js
<script src='plugins/PluginInBrowserEdits.js'></script>
- Tell the app to initialize the plugin by passing
PluginInBrowserEdits.plugin
toapp.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.port
after importing PluginInBrowserEdits to your index.html but before executing the plugin.