insanelyBlog/plugins/ckeditor_simple/_plugin.php

5 lines
274 B
PHP
Raw Normal View History

2016-06-18 10:07:35 +02:00
<?php
addHead('<script src="/plugins/ckeditor/ckeditor.js"></script>', 'ckeditor');
addHead('<script src="/plugins/ckeditor/adapters/jquery.js"></script>', 'ckeditor-adapter');
addHead('<script>$(document).ready(function() { $("#entry-textarea").ckeditor(); });</script>');