Current date/time is October 21st 2019, 12:01 am

Search found 2 matches for AwesomeBB

[Tutorial] CKEditor

Create CKEditor in #awesomebb version
Code:
/*
 *  Application: CKEditor
 *  Version: Only AwesomeBB
 *  Date: 30/04/2018
 *  Version: 1.030042018
 *  Copyright (c) CKSource and Adapted to forumotion by Daemon <help.forumotion.com>
 *  This work is free. You can redistribute it and/or modify it
 */
$(function() {
 
  if (_board.tpl_version !== 'awesomebb') return;
 
    $.ajax({
        type: 'GET',
        url: 'https://cdn.ckeditor.com/4.13.0/standard-all/ckeditor.js',
        dataType: 'script',
        success: function() {
            CKEDITOR.replace('quick-reply-textarea', {
                extraPlugins: 'bbcode'
            });
        },
        error: function(jqXHR, textStatus, errorThrown) {
            if(jqXHR.status == 500) {
                console.log('Internal error: ' + jqXHR.responseText);
            } else {
                console.log('Unexpected error.');
            }
        }
    });
    $(function() {
        $('#quick-reply-textarea').sceditor('instance').destroy();
    });
});
by pedxz
on October 12th 2019, 10:21 am
 
Search in: Community Coding and Analysis Zone
Topic: [Tutorial] CKEditor
Replies: 35
Views: 2635

Forum versions

#ModernBB and #AwesomeBB has been added to the tutorial.
by SLGray
on September 18th 2018, 1:49 am
 
Search in: Tips & Tricks
Topic: Forum versions
Replies: 1
Views: 5430

Back to top

Jump to: