daux.io/docs/cms/10_Editor/01_Install.md
2013-06-21 10:49:05 -05:00

12 lines
360 B
Markdown

To create an editor on a page use the following code
<div id="cms-editor"></div>
<script type="text/javascript" src="dist/js/todaycms.js"></script>
<script type='text/javascript'>
cms_setup({
apikey: '7DdPrtGp9ZhKmk',
collection: "listings"
});
</script>
***Required***: 'apikey' and 'collection' are required parameters for the editor to load.