A tool to enable in-page editing of elements with Cortex as a backend.
Install some global dependencies, then project dependencies:
$ npm -g install bower gulp
$ npm install
$ bower install
You will also need to host/locate several CKEditor plugins, which should be available via any hosted Cortex instance. See main.js
for further information.
Now you can build or watch the project! Built and Compiled assets will be plopped into the dist
directory.
$ gulp build
or
$ gulp watch
or, to minify assets:
$ gulp compile
Before using or distributing content-snippets-edit
, the .env
file should be configured. Copy and rename the .env.example
provided and configure to match the environment.