Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (tinymceLength !== 0) {
- tinymce.init({
- selector : '.tinymce',
- plugins: [
- 'advlist autolink lists link image charmap print preview hr anchor pagebreak',
- 'searchreplace wordcount visualblocks visualchars code fullscreen',
- 'insertdatetime media nonbreaking save table contextmenu directionality',
- 'emoticons template paste textcolor colorpicker textpattern imagetools codesample youtube'
- ],
- toolbar1: 'insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image',
- toolbar2: 'print preview media | forecolor backcolor emoticons | codesample | youtube',
- force_br_newlines : true,
- force_p_newlines : false,
- editor_encoding: 'numeric',
- extended_valid_elements : '+iframe[src|frameborder|style|scrolling|class|width|height|name|align|allowfullscreen]',
- entities : '160,nbsp,162,cent,8364,euro,163,pound,amp,63',
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement