Skip to content

Commit

Permalink
Merge pull request #1185 from markocikos/LPS-204054
Browse files Browse the repository at this point in the history
feat(js-api): add types for Editor Config Contributor client extension
  • Loading branch information
markocikos authored Dec 20, 2023
2 parents 6008120 + 888223f commit fb0faf7
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
- uses: actions/labeler@v4
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
19 changes: 19 additions & 0 deletions projects/js-toolkit/packages/js-api/editor/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* SPDX-FileCopyrightText: © 2020 Liferay, Inc. <https://liferay.com>
* SPDX-License-Identifier: LGPL-3.0-or-later
*/

/**
* Editor Transformer
*
* For CKEditor 4, see config API:
* https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html
*/

export interface EditorConfigTransformer<T> {
(args: T): T;
}

export interface EditorTransformer<T> {
editorConfigTransformer: EditorConfigTransformer<T>;
}

0 comments on commit fb0faf7

Please sign in to comment.