aieditor-team / AiEditor

AiEditor is a next-generation rich text editor for AI.
https://AiEditor.dev
GNU Lesser General Public License v2.1
936 stars 94 forks source link

Add a WebComponent-Manifest #82

Open jogibear9988 opened 1 week ago

jogibear9988 commented 1 week ago

I tried to use your Editor in My Designer (https://node-projects.github.io/web-component-designer-demo/index.html), but I could not find a Main Editor component. Isn't there a webcomponent wrapping the whole editor?

And also, could you add a Manifest, so a Designer could show your properties on elments? see: https://github.com/webcomponents/custom-elements-manifest

yangfuhai commented 1 week ago

Sorry, I'm not familiar with your Designer project. Can you refer to the react component to write your own?

Here is the reference address of the react component: https://aieditor.dev/aieditor-with-react.html#react-component

jogibear9988 commented 1 week ago

My Designer uses WebComponnets, thought yours is a webcomponent

And the Manifest is a Json file, wich should be created for all webcomponents

jogibear9988 commented 1 week ago

https://node-projects.github.io/web-component-designer-demo/index.html?npm=aieditor

your emji works:

image

but I see no properties, cause you have no manifest