I am trying to get DrawIt to work on the most recent WP.
Using this post as a guide “https://www.ads-software.com/support/topic/breaking-change-new-embed-uri/#post-13442881”
I updated draw.io to diagrams.net in both PHP and JS, but I could not complete step two.
@patsam, can you help with your original post?
]]>Dear Drawit Team,
I recently updated my wordpress version to V5.5.3 and had to install and activate the plugin “Enable jQuery Migrate Helper” to be able to do so.
The site works great now but I do get a message that there are some existing JQery issues with your plugin “footnotes” (see below)
jQuery Migrate Helper — Warnings encountered
https://bestweb/wp-content/plugins/drawit/js/drawit-iframe.js: jQuery.fn.load() is deprecated</td>
>https://bestweb/augenuntersuchung/</td>
What could be done to solve this issue?
My website setup:
WP Version V5.5.3
Theme “the Ken” V4.2.1
PHP 7.2.7
mysqul V5.5.45
Best regards,
Max
Hi! This plugin is somewhat of a cornerstone of a large portion of our site, so this is pressing.
It seems drawit.io has moved everything over to diagrams.net, including the URIs of the embedding API. As of the past few days, opening the editor now gives me an endless spinner and tells med that the app.diagrams.net URI will stop working, and to use embed.diagrams.net instead.
I tried altering the iframe src in drawit.php:456 to:
https://embed.diagrams.net/?embed=1&analytics=0&gapi=0&db=0&od=0&proto=json&spin=1
and iframe contentWindow.postMessage target in drawit.js:10 to:
https://embed.diagrams.net/
The message telling me I’m at the wrong address is gone now, but the spinner still won’t stop. It seems the data isn’t getting through one way or the other. I’m not a dev, so I wouldn’t know.
Any chance this can be fixed?
]]>This is a FYI, if you are using newer version of WordPress, probably with default post editor (Gutenberg), you would probably not have access to drawit when you edit your post.
Fortunately there is a way around this. You can add a classic block (which is under Formatting). Then you will have access to the classic editor of WordPress, which has the button where you can use DrawIt.
]]>Hello,
I am using drawit on my website, it’s amazing. Thank you.
I am encountering a problem with Featured Images, everything is ok if I use english title, but the image name will be trimed if I use Non-english title.
For example: “二叉树”
It will be trimed as “.svg” or “-1.svg” in featured images field.
Could you please give me some advices,
Thanks!
I have a digram that has lots of hyperlinks in it
the other day I went to but a title in and now the diagram is no longer visable from the webpage but when I click preview as an editing option on word press not within draw it, I see exactly what i should see when on the website but its just not there when I go onto it?
there is no code no error no space where it should be just nothing?
I am using the new Block Editor in WordPress 5.2.2. My drawit install works where the old editor is being used but seems to be unavailable with the new editor. Is there a way to get it to work with the new editor?
]]>To assorted chips
Text selected for any font.
The preview image is displayed in any font, but in the saved image it is replaced with the default font.
Is there a solution that can be envisaged?
Hello,
I would like to integrate in html the diagram that I just made. But it’s written in the export: The diagram is too big.
How can I fix the dimensions?
If you need more info about the page of the website, I can provide it, as well.
Thanks very much for your support.
Marie ??
]]>HI,
I’m currently testing DrawIt 1.1.3 and this is great !
I can add a link to an element in a SVG image and it works.
However, how can I add something like [target=”blank”] to open the link in a new tab or window ? I don’t see it. Now it opens in the same tab/window, so you are leaving the site which we don’t want to happen.
Thanks for helping me out.
]]>It seems to be a wonderful Plugin and I want to use it. Before it do that, however, can you please confirm whether it is compatible with Gutenberg and WordPress 5? If not, do you have plans to make so?
Thanks in anticipation!
Regards!
]]>So I’ve set up a clean WP install, added drawit, but it only shows up for configuration in the plugins menu and settings menu. There does not appear to by any way to edit it through posts, or visit a part of the site or anything. It looks like it isn’t doing anything.
How do I access the plugin to use it at all?
]]>Hi, every time I edit an diagram and save a new image is added to the media library. I just wanted to see if it’s possible to overwrite the existing version instead.
]]>Hi, when I run drawit it gets stuck on the loading screen. It throws this error:
Uncaught TypeError: Cannot read property ‘offsetTop’ of null
at Object.e.stickyButton (admin_uncode.min.js?ver=1.0.0:1)
at HTMLDocument.<anonymous> (admin_uncode.min.js?ver=1.0.0:1)
at i (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload,plupload-handlers,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-dr&load[]=aggable,jquery-ui-droppable,jquery-ui-sortable,jquery-touch-punch,quicktags&ver=4.9.8:2)
at Object.fireWith [as resolveWith] (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload,plupload-handlers,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-dr&load[]=aggable,jquery-ui-droppable,jquery-ui-sortable,jquery-touch-punch,quicktags&ver=4.9.8:2)
at Function.ready (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload,plupload-handlers,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-dr&load[]=aggable,jquery-ui-droppable,jquery-ui-sortable,jquery-touch-punch,quicktags&ver=4.9.8:2)
at HTMLDocument.K (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload,plupload-handlers,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-dr&load[]=aggable,jquery-ui-droppable,jquery-ui-sortable,jquery-touch-punch,quicktags&ver=4.9.8:2)
Any idea what’s happening?
]]>Hi, have you (or anyone else) tried tweaking the plugin to run against a local server instead of https://draw.io?
]]>Hello,
I’m quite new in web design.
I use Drawit to make flow charts (squares, arrows and texts) arranged in vertical columns for protocols. I want the site to be comfortable to view on desktop browsers and also on mobile version of theme, so the SVG should scale by width according to absoulte width of the page to fully occupy the space.
Any suggestions?
Thanks a lot!
Hello, first off chapeu I really enjoy working with your plugin.
Yet I ran into a slight problem so to say, I am using your plugin to create a workflow documentation in my company. For that purpose I need to put links in certain places inside of my flowchart. This is working with every “Text” I use and most of the images. However some of the images I want to put a link on (-> right click -> Edit Link) seem to just not accept it. I opened the .svg file in Inkscape and from my understanding every image not being “linkable” is a bitmap/raster image (a pixel image so to say (?)). Is this a thing? Can you fix that or is there anything I can do?
One of the images I have a problem with is the 34th search result when filtering for “folder” if that helps (sorry I do not know how to tell you any other way).
PS. I did allow every SVG setting in the plugin’s options.
Kind regards
jd34
I’m not the most internet savvy, so I apologize in advance.
I can draw a diagram with the native shapes and the plugin saves everything just fine. But what I want to do is draw arrows and callouts on top of an image. The image I’m using is 397 KB.
The image inserts just fine and I can make the drawing but when I click save, the “saving…” pop-up just spins it’s wheel. Opening Chrome’s Developer Tools shows the following error: “Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)”
]]>Hello,
I’m developing a wiki site. Today I’ve changed laptop (from a Win 7 to Win 10 with 4k screen) and suddenly I’ve got this problem: when I click on the plugin button in post edit page with clear cache and cookies the plugin opens smoothly; but after the first interface closure (save/cancel, ecc.) when I click the second time to open the plugin frontend (new diagram or edit a previous one), it remains stuck on the loading screen.
Issue resolve only if I clear cache and cookies. Tried Chrome and IE latest version and the problem it’s the same. No changes on the site, that opens regularly on my other lap.
Suggestions? ??
]]>Hi,
DrawIt window in the back-end is hidden behind the admin side menu, so part of it is inaccessible.
I am using:
WP: 4.9.6
DrawIt: 1.1.3
Anything you can do to help?
Thanks!
Mitja
Great plugin!
I created SVG drawing, Enabled option for links to work in setting page, and added links to some objects in drawing. Everything works except I want to open links in a new window. Is there any option to achieve this?
I need a flowchart on some pages and I’m using your excellent plugin, but I have a problem.
When I choose the PNG file type, I can edit the diagram later, but the image quality is not very good. When I choose the SVG file type, the image quality is great, but I can’t edit the diagram later.
When I try, I get these warning messages:
Warning: Illegal string offset 'image_meta' in /var/www/html/wp-content/plugins/drawit/drawit.php on line 400
Warning: Illegal string offset 'title' in /var/www/html/wp-content/plugins/drawit/drawit.php on line 404
Warning: Illegal string offset 'title' in /var/www/html/wp-content/plugins/drawit/drawit.php on line 405
Warning: array_key_exists() expects parameter 2 to be array, string given in /var/www/html/wp-content/plugins/drawit/drawit.php on line 408
Moreover, the title of the diagram is “A”, instead of the one I had originally chosen.
I also noticed that when I create a new diagram with the same title as one I created before, the image it displays is the same as that of the previous diagram with that name. For instance, I create a diagram called “Test”, then I can’t edit it because of the bug I mentioned above. So I delete the image from my media repository on WordPress and remove it from my post, create a new diagram, call it “Test”, and then what I see is the previous diagram with the name “Test”.
]]>It would be really cool if there was an option to allow the user to draw into their post with this. There are no modern plugins i can find with this feature. there is one four years old called drawblog. I can think of lots of applications. In my case I am setting up a site for a PA service. I would like the band to be able to draw their basic preferred setup so the sound man knows going in what to expect and what to bring.
]]>The file drawit.php
has a closing ?>
tag, which is unnecessary, and a line of whitespace after that. Whitespace like that causes issues with other plugins, like Yoast SEO, unfortunately, so please remove the ?>
??
(Technical details: if the whitespace is loaded before the output of our XML sitemaps, the <?xml
is on the second line instead of the first, and the XML is no longer valid XML.)
Hello!
I’m building my diagram and I have a little problem – what to change the destination save folder of my diagram?
Now it’s wp-content/uploads/2017/10/mydiagram.svg but I want to change it to something similar to wp-content/uploads/my-diagrams/mydiagram.svg.
So the question is – how to change that?
Hi there,
My site allow folks to add a listing. But this plug-in doesn’t show up in the Editor control. To test this for yourself, please go to https://www.ufound.us/jengo/pricing-tables/ select any plan to continue. On the next page, look at the Listing Content section, this where the plugin command box should appear too.
I have enabled all the tricky settings (Advance Options) in the backend, but that doesn’t seem to solve it. Thank you!
]]>Hi,
When I click Save I get this error
Sorry, could not insert attachment into media library. WP error:
File is empty. Please upload something more substantial.
I am using latest version 1.1.3
I am also using an aws s3 bucket and the S3-Uploads-master plugin by human made
I can upload media without any problems normally its only when using drawit do I get this error
My error log shows this
PHP message: PHP 2. do_action($tag = *uninitialized*, $arg = *uninitialized*) /var/www/mysite.com/htdocs/wp-admin/admin-ajax.php:91
PHP message: PHP 3. WP_Hook->do_action($args = *uninitialized*) /var/www/mysite.com/htdocs/wp-includes/plugin.php:453
PHP message: PHP 4. WP_Hook->apply_filters($value = *uninitialized*, $args = *uninitialized*) /var/www/mysite.com/htdocs/wp-includes/class-wp-hook.php:323
PHP message: PHP 5. drawit->sideload_handler(*uninitialized*) /var/www/mysite.com/htdocs/wp-includes/class-wp-hook.php:298
PHP message: PHP 6. media_handle_sideload($file_array = *uninitialized*, $post_id = *uninitialized*, $desc = *uninitialized*, $post_data = *uninitialized*) /var/www/mysite.com/htdocs/wp-content/plugins/drawit/drawit.php:321
PHP message: PHP 7. wp_handle_sideload($file = *uninitialized*, $overrides = *uninitialized*, $time = *uninitialized*) /var/www/mysite.com/htdocs/wp-admin/includes/media.php:410
PHP message: PHP 8. _wp_handle_upload($file = *uninitialized*, $overrides = *uninitialized*, $time = *uninitialized*, $action = *uninitialized*) /var/www/mysite.com/htdocs/wp-admin/includes/file.php:478
PHP message: PHP 9. apply_filters($tag = *uninitialized*, $value = *uninitialized*) /var/www/mysite.com/htdocs/wp-admin/includes/file.php:264
PHP message: PHP 10. WP_Hook->apply_filters($value = *uninitialized*, $args = *uninitialized*) /var/www/mysite.com/htdocs/wp-includes/plugin.php:203
PHP message: PHP 11. S3_Uploads->filter_sideload_move_temp_file_to_s3($file = *uninitialized*) /var/www/mysite.com/htdocs/wp-includes/class-wp-ho
Any ideas?
Thanks in advance
BTW Thanks for your work on this, it’s great
]]>Hi,
At the moment i have for a sudden that drawings cant be edit anymoren.
Drawing 1 is one of many drwaing that i have.
The thing is that when I want to adjust this drwawing by using the regular procedure the drawing is gone….???
When I open the drawing in editor i see the drawaing;but after selecting the drwaing and push the drawit button to edit the drawing is gone….the edit screen is empty…
What could be the problem ?
If you need an admin to see what is happening let me know..
Regards Jan
]]>Hi. Great plugin! Congratulations!
I need help.
How can I add links to images (no text), and, how can I open those links in a new tab?
I tried, but I can’t.
Hope your help.
Have a great day!
Hi,
When I click on the image in the backend and click on Drawlt icon, a window will open (with the correct title). But the diagram I made isn’t visible? It’s blank canvas?
And when I’ve inserted a hyperlink and click on it, it won’t work?
]]>