Destroys Meta
-
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.
-
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,
MoHi,
you have to be connected via API.
As soon the connection is activated it converts the HTML.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,
MoHI,
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": [] } ]
- Create a new page
- Add the new editor block called “/test”.
- Add some special characters in the fields.
- Save it.
- Add the API connection-data from cloudinary.
- Reload the page.
-
This reply was modified 4 years, 8 months ago by
Pixel Design Studio.
-
This reply was modified 4 years, 8 months ago by
Pixel Design Studio.
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,
MoHi,
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 -->
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,
MoHi,
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.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,
MoHi,
thank you, I’ve created one on support.cloudinary.com correct?
Hi,
Thank you and yes I see your new ticket.
Thanks,
Mo
- The topic ‘Destroys Meta’ is closed to new replies.