insanelyBlog/plugins/ckeditor/_plugin.php

5 lines
276 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() { $("#content textarea").ckeditor(); });</script>');