builder
builder copied to clipboard
plugin html edit jodit
Description
Currently, I'm going to create a custom plugin for HTML editor with jodit because default HTML editor (quill) cannot adapt to my business. I'm following this guide https://www.builder.io/c/docs/make-a-plugin
I'm using node 16.18.0
Screenshot
⚠️ No Changeset found
Latest commit: 66529ae4148ef35d464a2edc6cca4f315b3b700d
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| nextjs-app-router-example | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 27, 2024 7:31am |
| nextjs-pages-router-example | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 27, 2024 7:31am |
| remix-gen2-example | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 27, 2024 7:31am |
| svelte-vite-example | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 27, 2024 7:31am |
☁️ Nx Cloud Report
CI is running/has finished running commands for commit 66529ae4148ef35d464a2edc6cca4f315b3b700d. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.
📂 See all runs for this CI Pipeline Execution
✅ Successfully ran 35 targets
nx test @e2e/angularnx test @e2e/qwik-citynx test @e2e/angular-ssrnx test @e2e/nuxtnx test @e2e/vuenx test @e2e/sveltekitnx test @e2e/react-sdk-next-pagesnx test @e2e/react-sdk-next-appnx test @e2e/nextjs-sdk-next-appnx test @e2e/solid-startnx test @e2e/solidnx test @e2e/gen1-reactnx test @e2e/remixnx test @e2e/sveltenx test @e2e/gen1-remixnx test @e2e/reactnx test @e2e/hydrogennx test @e2e/react-nativenx test @snippet/solidnx test @e2e/gen1-nextnx test @snippet/react-sdk-next-appnx test @snippet/nextjs-sdk-next-appnx test @snippet/angularnx test @snippet/angular-ssrnx test @snippet/reactnx test @builder.io/sdksnx test @snippet/qwik-citynx test @snippet/vuenx test @snippet/sveltekitnx test @snippet/nuxtnx test @snippet/react-sdk-next-pagesnx test @snippet/react-nativenx test @snippet/sveltenx typecheck @builder.io/sdksnx build @builder.io/sdk
Sent with 💌 from NxCloud.
@gustavocodess Could you approve this PR for me ? Is it have any issue?
hi BuilderIO team, I have updated on pull request, please check and give me feedback if have any update
On Fri, Jul 12, 2024 at 12:29 AM Aziz Abbas @.***> wrote:
@.**** requested changes on this pull request.
Great suggestion, left few comments otherwise looks good
In plugins/html-editor/README.md https://github.com/BuilderIO/builder/pull/3306#discussion_r1674393444:
@@ -0,0 +1,89 @@ +# Builder.io example plugin
readme needs a few instructions on how to enable and what this plugin do, and how to use it
In plugins/html-editor/src/plugin.tsx https://github.com/BuilderIO/builder/pull/3306#discussion_r1674400023:
+function RichTextEditor(props: TextProps) {
- return (
- <JoditEditor
value={props.value}onChange={props.onChange}config={config}- />
- ); +}
+Builder.registerEditor({
- /**
- Here we override the built-in richtext editor.
- */
- name: 'html-editor',
this should be the name of a type, if you want to override built-in rich text editor you'd want to chose html or richText
— Reply to this email directly, view it on GitHub https://github.com/BuilderIO/builder/pull/3306#pullrequestreview-2172538515, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVJ4ZXWABI7A27MXMTPQXMLZL26GLAVCNFSM6AAAAABIKUQAPSVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDCNZSGUZTQNJRGU . You are receiving this because you authored the thread.Message ID: @.***>
-- CONFIDENTIALITY NOTE: This email (including any attachments) contains confidential information and is intended only for the recipient(s) addressed above. Please notify the sender immediately if you have received this e-mail in error and destroy it (and all attachments) without reading, storing or disseminating any of its contents (in any form) to any person. Email communication is not secure. Trusting Social Group are not liable for any losses arising out of any errors or omissions in the contents resulting from email transmission or any illegal or unauthorized usage or tampering of our email system.