AdvancedCustomFields / AdvancedCustomFields/acf

WYSIWYG field: can't load value without any formatting in Gutenberg

Open
#103 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
945
Forks
197
PR merge metrics
No merged PRs in 30d

Description

Providing a ‘false’ for the format parameter in the get_field / the_field function for the WYSIWYG field type should return the value with no formatting, but in 5.8.0 beta 3 this doesn't seem to be working, as the value is returned with formatting.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the get_field and the_field entry points and trace how the WYSIWYG field handles the format parameter in Gutenberg. Reproduce the issue with format set to false, then verify that the returned value contains no formatting while normal formatting behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
content
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.