Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Inline tool from the documentation doesn't work in latest version

Đang mở
#2,827 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ả

good first issue issue for docs

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:

  1. Try this code sandbox with the tool code from the docs https://codesandbox.io/p/sandbox/editor-js-forked-pyk98w
  2. Add some text and add a mark from inline tool
    image
  3. Color picker is diplayed but disappears.
  4. Go to package.json and change editorjs version to 2.15.1
    "@editorjs/editorjs": "2.15.1",
  5. 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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của codex-team/editor.js

Tất cả issue của codex-team/editor.js

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.