Skip to content

An additional string of characters in distributed post - "rn t" in ACF Wysiwyg field #685

@emisrw

Description

@emisrw

Distributor add additional "rn t" string in ACF Wysiwyg editor
example :

<ul>rn t<p></p>
<li>list el 1</li>
<p>rn t</p>
<li>list el 1</li>
<p>rn t</p>
<li>list el 1</li>
<p>rn t</p>
<li>list el 1</li>
<p>rn</p></ul>

Example post_content from databse :

<!-- wp:acf/custom-text {
    "id": "block_5fa2a9d627253",
    "name": "acf\/custom-text",
    "data": {
        "title": "Test title",
        "_title": "field_5f9abcac59df2",
        "description": "<h3><strong>Test:<\/strong><\/h3>rn<ul>rn t<li>Test list 1,<\/li>rn t<li>Test list 2,<\/li>rn t<li>Test list 3.<\/li>rn<\/ul>rn&nbsp;rn<h3><strong>Naturalny efekt liftingu:<\/strong><\/h3>rn<ul>rn t<li>ujędrnienie,<\/li>rn<\/ul>",
        "_description": "field_5f9abcb78fc76"
    },
    "align": "",
    "mode": "edit"
} /-->

Sometimes custom blocks not showing. I found a problem in copied post :
original post:

    "id": "block_5fa29301bf790",
    "name": "acf\/treatment-detail",

distributed post:

    "id": "block_5fa29301bf790",
    "name": "acf/treatment-detail",

I using ACF PRO and Wysiwyg field in Custom post type

Environment information
Wordpress 5.6
ACF Pro 5.9.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions