Skip to content

2.0.0

Compare
Choose a tag to compare
@skerbis skerbis released this 25 Jun 18:43
· 484 commits to master since this release

Changelog

Version 2.0.0

  • @CKEditor5 classic build update to v10.1.0
  • add @CKEditor5 table plugin
  • add options for @CKEditor5 table-toolbar in profile builder
  • hide image toolbar settings in profile builder is imageUpload or rexImage disable
  • update Keyboard support tables in readme.md's
  • to don't lose custom profiles after update recreate profiles by update
  • execute sql by update to v2.0.0
  • use better style like github for keyboard support table
  • add preview in profile builder
  • add preview page with code example
  • add text license to mblock demo page
  • Cke5\Creator\Cke5ProfilesApi::addProfile api was add to create profiles without user interface
    $create = \Cke5\Creator\Cke5ProfilesApi::addProfile(
        'full_cke',
        'Cke5 with all possible tools',
        ['heading', '|', 'fontSize', 'fontFamily', 'alignment', 'bold', 'italic', 'underline', 'strikethrough', 'insertTable', 'code', 'link', 'rexImage', 'bulletedList', 'numberedList', 'blockQuote', 'highlight', 'emoji', 'undo', 'redo'],
        ['paragraph', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6'],
        ['left', 'right', 'center', 'justify'],
        ['imageTextAlternative', '|', 'full', 'alignLeft', 'alignCenter', 'alignRight'],
        ['tiny', 'small', 'big', 'huge'],
        ['yellowMarker', 'greenMarker', 'pinkMarker', 'blueMarker', 'redPen', 'greenPen'],
        ['tableColumn', 'tableRow', 'mergeTableCells'],
        ['internal', 'media']
    );
    echo (is_string($create)) ? $create : 'successful profile created';