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

TinyMCE as first class citizen in ACF

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
php, wordpress
Lĩnh vực
content, web-dev

Hướng nghiên cứu

Hãy bắt đầu bằng việc xem lại các cuộc thảo luận được liên kết trong các issue #906 và #876, cùng với cuộc thảo luận về JavaScript-source trong issue #938, để hiểu tích hợp TinyMCE hiện tại và các hạn chế của nó. Issue này không xác định các tệp triển khai, các bài kiểm thử hay một giải pháp đã được thống nhất; trước tiên, một đóng góp cần xác định phạm vi và các tiêu chí chấp nhận để biến TinyMCE thành một trình soạn thảo hạng nhất.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

see: https://github.com/AdvancedCustomFields/acf/issues/906#issuecomment-2095595565
see: https://github.com/AdvancedCustomFields/acf/issues/876#issuecomment-1719231612


The entire reason we use ACF is to continue using TinyMCE in WordPress while also being able to leverage Gutenberg for some aspects.

Gutenberg solves:

  • content is stored in post content -> search works
  • easier to reuse blocks across multiple templates

TinyMCE solves:

  • much more stable across WordPress versions
  • easier for content editors

In practice we disable all core blocks and use ACF to create only that which is needed and supported by each design system.

"just use inner blocks" isn't a viable direction for us.
We don't want to use core blocks.


What frustrates me about the current situation is that ACF isn't open to community fixes.

For example the JavaScript source code isn't present in this repo (not even unminified sources: https://github.com/AdvancedCustomFields/acf/issues/938)

We would really like to see better support for TinyMCE and to restore it to being a first class citizen in ACF.

Not being able to help out with this issue is unfortunate.


It seems that most issues with TinyMCE are the result of conflicts with WordPress itself.

Isolating the ACF WYSIWYG editor in an iframe might be a viable solution?
Inside the iframe there wouldn't be anything of WordPress to have conflicts with.


We obviously want to help out or contribute financially to this end, please let us know if this is an option.

Ngôn ngữ chính
PHP
Star
948
Fork
198
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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 AdvancedCustomFields/acf

Tất cả issue của AdvancedCustomFields/acf

Issue tương tự

Thêm issue về PHP

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.