diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 673125d7a..de3cbbee1 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -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 }}' diff --git a/projects/js-toolkit/packages/js-api/editor/index.ts b/projects/js-toolkit/packages/js-api/editor/index.ts new file mode 100644 index 000000000..ac73ee10a --- /dev/null +++ b/projects/js-toolkit/packages/js-api/editor/index.ts @@ -0,0 +1,19 @@ +/** + * SPDX-FileCopyrightText: © 2020 Liferay, Inc. + * 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 { + (args: T): T; +} + +export interface EditorTransformer { + editorConfigTransformer: EditorConfigTransformer; +}