Commit Graph

29 Commits

Author SHA1 Message Date
Viktor Pegij
0849e5e41a [CKEditor] Add more skin settings 2018-11-01 10:14:58 +03:00
denis
30afbf0200 Basic strict null checks 2018-09-18 21:33:39 +02:00
denis
cc631c4dd2 Linting v3 2018-09-13 10:59:33 +02:00
denis
ad273bda59 Linting v2 2018-09-13 00:17:30 +02:00
stuartlo
4daed3919d Updating v2 header 2018-05-23 17:25:42 -07:00
stuartlo
3e19417849 Updated tsconfig paths for v2 2018-05-23 16:57:48 -07:00
stuartlo
023cfed67e Re-added new typgins 2018-05-23 16:52:10 -07:00
stuartlo
e0a4324ff1 Moved old types to v2 2018-05-23 16:51:41 -07:00
stuartlo
dd8fc56699 Fix whitespace issues 2018-05-23 16:25:44 -07:00
stuartlo
99f61a7bb4 Add tests 2018-05-23 15:20:33 -07:00
stuartlo
202a537935 Fix boolean issue 2018-05-22 18:23:25 -07:00
stuartlo
4ee2a16c77 Update typings to CKEditor v4.9.2 2018-05-21 17:56:18 -07:00
earshinov
24805d4023 [ckeditor] Various additions to the typings (#24856)
* Declare that `CKEDITOR` has event subscription interface for global events like `"instanceCreated"`.

Documentation link: https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR.html#Events

* Declare `CKEDITOR.editor.getSelectedHtml` with overloads.

Documentation link: https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.editor-method-getSelectedHtml

* Declare some arguments as optional

Documentation links:

* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dom.event-method-preventDefault
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dom.range-method-createBookmark2
* https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_dom_node.html#method-getAddress
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dom.range-method-getCommonAncestor

* Fix typings of `createBookmark[s][2]`:

* Properly declare methods `createBookmarks[2]` instead of `createBookmark[2]` on `CKEDITOR.dom.rangeList`.

Documentation link: https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_dom_rangeList.html#method-createBookmarks

* Use return type of `bookmark[]` for "intrusive bookmarks" everywhere as in `CKEDITOR.dom.range.createBookmark`.

* Declare parameters of `CKEDITOR.dom.selection.createBoomarks[2]` as required `Object`'s to follow the documentation.

Documentation link: https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_dom_selection.html#method-createBookmarks

* Declare method `CKEDITOR.dom.node.remove` mistakenly named `move` in the typings.

* Declare `CKEDITOR.dom.range.setEnd{Before,After}` in addition to `setStart{Before,After}`.

Documentation links:

* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dom.range-method-setEndAfter
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dom.range-method-setEndBefore

* Declare some `CKEDITOR.tools`

Documentation links:

* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.tools-method-copy
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.tools-method-isArray
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.tools-method-override
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.tools-method-prototypedCopy

* Declare `CKEDITOR.plugins.registered`.

Documentation link: https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.resourceManager-property-registered

* Declare `CKEDITOR.htmlParser.element.addClass` in addition to `removeClass` and `hasClass`.

Documentation link: https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.htmlParser.element-method-addClass

* Declare `CKEDITOR.htmlParser.{element,fragment}.forEach`.

Documentation links:

* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.htmlParser.element-method-forEach
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.htmlParser.fragment-method-forEach

* Coding style: Convert to single quotes and spaces for indentation.

* Make `fileName` parameter of `CKEDITOR.plugins.addExternal` optional.

Documentation link: https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_plugins.html#method-addExternal

* Make `editable` as a class and declare its constructor.

Documentation link: https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_editable.html#method-constructor
2018-04-16 17:55:15 -07:00
sunnyone
5503255065 Add onHide to IDialogDefinition (#24964) 2018-04-13 08:53:57 -07:00
Eugene Arshinov
06cf5d0caf [ckeditor] Added typings for CKEDITOR.dtd
Reference to CKEDITOR API documentation:
https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dtd

Added new `function test_dtd()` to `ckeditor-tests.ts`.
2018-03-29 15:30:47 +03:00
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Rasmus Halland
21cd9a3ab3 ckeditor: Added and modified some definitions. (#23079) 2018-01-25 09:12:53 -08:00
takuya hatadani
3bb5a9fc5f fix CKEDITOR.config
add:
clipboard_notificationDuration
colorButton_colorsPerRow
colorButton_enableAutomatic
colorButton_normalizeBackground
2017-11-16 16:09:59 +09:00
Adam
fc8c01431b
Fix typing for magicline_tabuList
Documentation for CKEDITOR.config incorrectly lists magicline_tabuList as type Number (the type assigned in this file was likely based on the documentation). However, magicline source code expects a string array [see source here](https://docs.ckeditor.com/ckeditor4/docs/source/plugin60.html#CKEDITOR-config-cfg-magicline_tabuList).
2017-11-09 18:39:55 -08:00
Ondrej Sevcik
b58290d346
Remove myself from maintainer list
I don't have time to maintain it anymore and also I haven't used CKEditor typings for more than 2y now.
2017-10-28 09:40:55 +02:00
wittwert
2b447c6558 Allow separators in toolbarGroups configuration. (#21075) 2017-10-27 16:55:18 -07:00
Andy
19f89399e4 Ensure every package has a tslint.json (#21009)
* Ensure every package has a tslint.json

* Fixes
2017-10-25 11:13:50 -07:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Hikariii
21a7316e6f instance events updated and fixed 2017-08-29 13:15:49 +02:00
Andy
924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
Julian Verdurmen
1ea08cca6b Fix ckeditor.dialog.getCurrent() 2017-07-04 15:16:28 +02:00
Jonas Schürmann
8e9ed1a60d Allow all HTML elements for CKEDITOR.appendTo() 2017-05-17 15:01:59 +02:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00