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
how to add text input to right area #331
Comments
Hi You can check the preformatted component that has a textarea input to edit the content of the selected element You can add the same text property from preformatted component to the base component https://github.com/givanz/VvvebJs/blob/master/libs/builder/components-common.js#L75-L101 to make it available for all components. The only thing missing is a CodeEditorInput or RichTextEditorInput to use instead of TextareaInput. For this you can duplicate the TextareaInput code in https://github.com/givanz/VvvebJs/blob/master/libs/builder/inputs.js#L72-L86 and https://github.com/givanz/VvvebJs/blob/master/editor.html#L848-L854 CodeMirror library is already included and used for code editor and the code can be adapted for the input https://github.com/givanz/VvvebJs/blob/master/libs/builder/plugin-codemirror.js#L12 |
Thank you for your reply. |
Hello Everyone!
Today, i want to add the input on the right area ,like it.
how can i start ? Thank you.
The text was updated successfully, but these errors were encountered: