-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from codex-team/feat/editor-tools-in-user
Added user editor tools
- Loading branch information
Showing
13 changed files
with
281 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
export const EditorToolSchema = { | ||
$id: 'EditorToolSchema', | ||
type: 'object', | ||
properties: { | ||
id: { | ||
type: 'string', | ||
readOnly: true, | ||
description: 'Unique tool id', | ||
}, | ||
name: { | ||
type: 'string', | ||
description: 'Plugin id that editor will use, e.g. "warning", "list", "linkTool"', | ||
}, | ||
title: { | ||
type: 'string', | ||
description: 'User-friendly name that will be shown in marketplace, .e.g "Warning tool 3000"', | ||
}, | ||
exportName: { | ||
type: 'string', | ||
description: 'Name of the plugin\'s class, e.g. "LinkTool", "Checklist", "Header"', | ||
}, | ||
isDefault: { | ||
type: 'boolean', | ||
description: 'Is plugin included by default in the editor', | ||
default: false, | ||
}, | ||
source: { | ||
type: 'object', | ||
properties: { | ||
cdn: { | ||
type: 'string', | ||
description: 'Tool URL in content delivery network', | ||
}, | ||
}, | ||
}, | ||
}, | ||
}; | ||
|
Oops, something went wrong.