Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 修复 editor 合入后导致插件配置项失效问题 #6800

Merged
merged 1 commit into from
May 6, 2023

Conversation

2betop
Copy link
Collaborator

@2betop 2betop commented May 6, 2023

What

🤖 Generated by Copilot at 25a3ab8

Add support for editor plugin options in amis-editor-core. Modify EditorManager and map to accept and pass options to plugins.

🤖 Generated by Copilot at 25a3ab8

Sing, O Muse, of the skillful coder who devised
A way to pass options to the plugins of the editor,
That versatile tool of many forms and functions,
Which the wise EditorManager oversees and controls.

Why

How

🤖 Generated by Copilot at 25a3ab8

  • Enable passing options to plugins in EditorManager constructor (link, link)
  • Assign the second element of each plugins array entry to a variable options (link)
  • Include options in the return value of the map function, or use undefined if not present (link)

@github-actions
Copy link

github-actions bot commented May 6, 2023

👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.

Please review the labels and make any necessary changes.

@github-actions github-actions bot added the fix label May 6, 2023
@2betop 2betop merged commit 4ce72f5 into baidu:master May 6, 2023
4 of 5 checks passed
@2betop 2betop deleted the fix-editor branch May 6, 2023 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants