Inline tool from the documentation doesn't work in latest version
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
- Lĩnh vực
- documentation, frontend
Hướng nghiên cứu
Bắt đầu với CodeSandbox được liên kết và tái hiện hành vi của marker inline tool trên Editor.js 2.30.6, sau đó so sánh với 2.15.1 như được mô tả trong issue. Đọc tài liệu inline-tool được liên kết và package.json; công việc hoàn tất khi bộ chọn màu của marker tool được tài liệu hóa vẫn sử dụng được trên phiên bản mới nhất, hoặc tài liệu giải thích rõ cách triển khai hiện tại cần thiết.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi,
I'm following the tutorial from the docs to create a marker inline tool. With the exact same code, when I click on the marker button, the color picker is quickly displayed, then disappears, so it can't be used.
The doc was last updated several years ago, and works fine with older versions of Editor.js, but not with latest ones. It makes it harder to create my own inline tool.
Steps to reproduce:
- Try this code sandbox with the tool code from the docs https://codesandbox.io/p/sandbox/editor-js-forked-pyk98w
- Add some text and add a mark from inline tool
- Color picker is diplayed but disappears.
- Go to package.json and change editorjs version to 2.15.1
"@editorjs/editorjs": "2.15.1", - If you try again, the color picker of the marker works well.
Editor.js version:
2.30.6
The color plugin I use doesn't work anymore since latest Editor.js updates, see these issues:
https://github.com/flaming-cl/editorjs-text-color-plugin/issues/36
https://github.com/flaming-cl/editorjs-text-color-plugin/issues/35#issuecomment-1948699329
So I don't know how to implement a color picker with Editor.js v2.30+.
Thanks
- Ngôn ngữ chính
- TypeScript
- Star
- 32k
- Fork
- 2.2k
- Merge trung bình
- 2 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của codex-team/editor.js
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
codex-team/editor.js#3037 ·
-
Floating Promise Anti-Pattern & Premature Caret in Multi-Block PasteCó thể đã có người làm @anshurajbisoyi98-ctrl đã nhận 13 ngày trước. Đang mởbug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
codex-team/editor.js#3032 · 1 bình luận ·
-
Silent Data Loss & Broken Error Contract in Saver.save()Có thể đã có người làm @Sion612 đã nhận 23 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
codex-team/editor.js#3030 ·
-
Complete Omission of block.destroy() in Blocks CollectionCó thể đã có người làm @Minhal128 đã nhận 22 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
codex-team/editor.js#3029 ·
-
Bug: Link cannot be removedCó thể đã có người làm @prathmeshyelne đã nhận 129 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
codex-team/editor.js#3005 · 1 bình luận ·
Tất cả issue của codex-team/editor.js
Issue tương tự
-
bnv-manager-v2: accept_invite creates the Mailcow domain admin before the commitCó thể đã có người làm @myOmikron đã nhận hôm nay. Đang mởbug ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Windows: mio 1.2.3 named-pipe use-after-free panics the native IPC broker and hangs every toolĐang mởplatform:windows tool triaged wontfix
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
nicolettas-muggelbude/RechnungsFee#448 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Android bug feature/error-tracking react-native team/error-tracking
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
PostHog/posthog-js#5310 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày