insanelyBlog/plugins/ckeditor/_plugin.php

5 lines
280 B
PHP
Raw Permalink Normal View History

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