• Hi,

    I’m using the plugin “LazyBlocks” and never had any issues.
    As soon as I install the Cloudinary Plugin, it loads all special characters as Unicode Characters.

    “&” converts after saving to “u2026”.
    As soon I disable the plugin, everythings works fine.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Mo @ Cloudinary

    (@molanip)

    Hi,
    Would you please share an example of URL that has this issue?
    I installed “LazyBlocks”, the added a global transformation with an overlay of text that has “&” and the URL is showing correctly without converting to the unicode char.
    Best regards,
    Mo

    Thread Starter Pixel Design Studio

    (@poooooow)

    Hi,

    you have to be connected via API.
    As soon the connection is activated it converts the HTML.

    Plugin Support Mo @ Cloudinary

    (@molanip)

    Hi,
    Thanks for your response.
    Would you kindly explain the steps you took to create this issue?
    I am not familiar with “LazyBlocks” but I use it created a block and tried to add an image. If I am on the right track, would you please provide the php code on how you add the image?
    Here is what I found from LazyBlocks documenation:
    <?php
    if ( isset( $attributes[‘control_name’][‘id’] ) ) {
    echo wp_get_attachment_image( $attributes[‘control_name’][‘id’], ‘large’);
    }

    Best regards,
    Mo

    Thread Starter Pixel Design Studio

    (@poooooow)

    HI,

    try importing this JSON:

    [
        {
            "id": 6,
            "title": "Test",
            "icon": "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<rect opacity=\"0.25\" width=\"15\" height=\"15\" rx=\"4\" transform=\"matrix(-1 0 0 1 22 7)\" fill=\"currentColor\" \/>\n<rect width=\"15\" height=\"15\" rx=\"4\" transform=\"matrix(-1 0 0 1 17 2)\" fill=\"currentColor\" \/>\n<\/svg>\n",
            "keywords": [],
            "slug": "lazyblock\/test",
            "description": "",
            "category": "common",
            "category_label": "common",
            "supports": {
                "customClassName": true,
                "anchor": false,
                "align": [
                    "wide",
                    "full"
                ],
                "html": false,
                "multiple": true,
                "inserter": true
            },
            "ghostkit": {
                "supports": {
                    "spacings": false,
                    "display": false,
                    "scrollReveal": false
                }
            },
            "controls": {
                "control_ffba7d441e": {
                    "type": "text",
                    "name": "title",
                    "default": "",
                    "label": "Titel",
                    "help": "",
                    "child_of": "",
                    "placement": "content",
                    "width": "100",
                    "hide_if_not_selected": "false",
                    "save_in_meta": "false",
                    "save_in_meta_name": "",
                    "required": "false",
                    "placeholder": "",
                    "characters_limit": ""
                },
                "control_7b1ac54764": {
                    "type": "classic_editor",
                    "name": "content",
                    "default": "",
                    "label": "Inhalt",
                    "help": "",
                    "child_of": "",
                    "placement": "content",
                    "width": "100",
                    "hide_if_not_selected": "false",
                    "save_in_meta": "false",
                    "save_in_meta_name": "",
                    "required": "false",
                    "placeholder": "",
                    "characters_limit": ""
                }
            },
            "code": {
                "editor_html": "",
                "editor_callback": "",
                "editor_css": "",
                "frontend_html": "{{title}}\n<br>\n<code>content</code>",
                "frontend_callback": "",
                "frontend_css": "",
                "show_preview": "always",
                "single_output": false,
                "use_php": false
            },
            "condition": []
        }
    ]
    1. Create a new page
    2. Add the new editor block called “/test”.
    3. Add some special characters in the fields.
    4. Save it.
    5. Add the API connection-data from cloudinary.
    6. Reload the page.
    Plugin Support Mo @ Cloudinary

    (@molanip)

    Hi,
    Thanks for the info. I did the following steps under Lazy Blacks on wordpress but need clarification on the steps followed.
    . choose Export/Import and Import the Json (which saved yours in my local)
    . choose “Add New” to create a new block and enter “test” under “Title” on the right column. (This cause Slug to become: lazyblock/test)

    Q: where do you add special characters?
    Q: where do you “Add the API connection-data from cloudinary”?

    Thanks,
    Mo

    Thread Starter Pixel Design Studio

    (@poooooow)

    Hi,

    to bad I can not add a screenshot.
    Try importing this into your page (code editor) please:

    <!-- wp:lazyblock/test {"title":"This \u0026 is $ a # special Character % Title","content":"\u003cp\u003eThis \u0026amp; is $ a # special Character % Content!\u003c/p\u003e","blockId":"1DP7lj","blockUniqueClass":"lazyblock-test-1DP7lj"} /-->
    
    <!-- wp:paragraph -->
    <p></p>
    <!-- /wp:paragraph -->
    Plugin Support Mo @ Cloudinary

    (@molanip)

    Hi,
    Thanks for your response. Here is what I did but I cannot see any unicode chars.:
    . added your input into the Code Editor and put in some special characters as follows:
    <p>& & & ( ) * & ^ % $ # @ ! & </p>
    . go to a new page and added the “test” block
    . I see the characters are shown correctly without the unicode:
    & & & ( ) * & ^ % $ # @ ! &

    Would you please share your list of plug-ins. There has been issues with including other plug-ins that causes unicode for special characters.

    Thanks,
    Mo

    Thread Starter Pixel Design Studio

    (@poooooow)

    Hi,

    I’ve disabled all plugins, just lazyblocks and cloudinary is active.
    If you give me your e-Mail I will send you a login, since this site is very blank atm.

    Plugin Support Mo @ Cloudinary

    (@molanip)

    Hi,
    Thanks for your response.
    To keep all communication intact; would you please open a ticket from your account? I will link it with this so we can move forward.

    Thanks,
    Mo

    Thread Starter Pixel Design Studio

    (@poooooow)

    Hi,

    thank you, I’ve created one on support.cloudinary.com correct?

    Plugin Support Mo @ Cloudinary

    (@molanip)

    Hi,
    Thank you and yes I see your new ticket.
    Thanks,
    Mo

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Destroys Meta’ is closed to new replies.