<?php if (!defined('ROOT')) { exit('No direct script access allowed'); } loadModule("markitup"); loadMarkitupEditor("guides"); ?> <style> textarea.markItUpEditor { width: 100%;min-height: 300px; } .markItUpHeader ul li { width: 20px; height: 20px; margin-top: -1px; } </style> <script> function initBaseEditor() { $('#guide_txt').markItUp(mySettings); } </script>
<?php if (!defined('ROOT')) { exit('No direct script access allowed'); } session_check(true); _css(array("jquery.tagit")); _js(array("jquery.tagit", "validator")); loadHelpers('uicomponents'); //loadModule("editor"); //loadEditor("cleditor"); loadModule("markitup"); loadMarkitupEditor("apidocs"); if (isset($_REQUEST['refid'])) { loadModuleLib('api', 'api'); $apiDetails = getApiDetails($_REQUEST['refid']); } else { $apiDetails['editable'] = true; } if ($apiDetails['editable'] == 'true') { ?> <style> .cleditorMain { height: auto !important; } textarea.markItUpEditor { width: 100%;min-height: 200px; } .markItUpHeader ul li { width: 20px; height: 20px;