insanelyBlog/plugins/ckeditor/_plugin.php

5 lines
280 B
PHP

<?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>');