Skip to content

Commit

Permalink
Bump 1.5.0 version
Browse files Browse the repository at this point in the history
  • Loading branch information
dimasites committed Apr 22, 2023
1 parent 6c7b812 commit 23cb1b8
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 14 deletions.
4 changes: 2 additions & 2 deletions _build/build.transport.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/* define version */
define('PKG_NAME','CKEditor');
define('PKG_NAMESPACE','ckeditor');
define('PKG_VERSION','1.4.0');
define('PKG_VERSION','1.4.5');
define('PKG_RELEASE','pl');

/* define sources */
Expand Down Expand Up @@ -143,4 +143,4 @@

$modx->log(modX::LOG_LEVEL_INFO,"Package built in {$totalTime}\n");

exit ();
exit ();
23 changes: 22 additions & 1 deletion core/components/ckeditor/documents/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
Changelog for CKEditor integration into MODx Revolution.

CKEditor 1.4.5 (2023.04.22)
====================================
- Added interactive resource selector with search by pagetitle or id in paste link dialog. It paste [[~id]] modx tag as link src

CKEditor 1.4.4 (2023.03.11)
====================================
- Added force browser cache flush of old JS-scripts versions when package updated

CKEditor 1.4.3 (2023.03.02)
====================================
- Fix initialization in non-TV instances like in ClientConfig extra (thanks @dimasites)
- Fix no autocorrect text when it's pasted from clipboard while autocorrection enabled and activated

CKEditor 1.4.2 (2023.02.24)
====================================
- Fix string param for mediabrowser link (thanks @dimasites)

CKEditor 1.4.1 (2022.04.04)
====================================
- Replaced MODX.action by string (MODX3 support)

CKEditor 1.4.0
====================================
- Fixed Save shortcut command (Patrick Reisert @Boddlnagg)
Expand Down Expand Up @@ -50,4 +71,4 @@ CKEditor 1.0.1

CKEditor 1.0.0
====================================
- Initial commit
- Initial commit
12 changes: 2 additions & 10 deletions core/components/ckeditor/documents/readme.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,2 @@
--------------------
Extra: CKEditor
--------------------
Version: 1.2.0
Created: December 7th, 2014
Since: December 5th, 2012
Author: Danil Kostin <[email protected]>
License: GNU GPLv2 (or later at your option)

Integrates CKEditor WYSYWYG Editor into MODx Revolution.
This extra integrates CKEditor WYSYWYG Editor into MODX2 and MODX3
Just install it and its ready to use! Try to edit any resource and have fun!
2 changes: 1 addition & 1 deletion manager/assets/components/ckeditor/ckeditor/ckeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
if (window.CKEDITOR && window.CKEDITOR.dom) return;
window.CKEDITOR || (window.CKEDITOR = function () {
var a = /(^|.*[\\\/])ckeditor\.js(?:\?.*|;.*)?$/i, d = {
timestamp: "HBDD",
timestamp: "1.4.5-pl",
version: "4.8.0",
revision: "230f715",
rnd: Math.floor(900 * Math.random()) + 100,
Expand Down
12 changes: 12 additions & 0 deletions manager/assets/components/ckeditor/ckeditor/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
* @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/*fix for clientconfig and others*/
for (var i in CKEDITOR.instances) {
CKEDITOR.instances[i].on('change', function () {
this.updateElement();
});
CKEDITOR.instances[i].on('afterPaste', function () {
if (this.commands.toggleAutocorrect.state == 2) {
this.execCommand('autocorrect');
}
});
}
/*end of fix for clientconfig and others*/

CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here. For example:
Expand Down

0 comments on commit 23cb1b8

Please sign in to comment.