daux.io/docs/cms/10_Editor/01_Install.md

12 lines
360 B
Markdown
Raw Normal View History

2013-06-12 21:42:00 +02:00
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.