Forum Replies Created

Viewing 15 replies - 46 through 60 (of 90 total)
  • Plugin Author assortedchips

    (@assortedchips)

    No support has been added for this yet. I have received feedback from Julian on how he got a custom version implemented, but I simply have not had time to integrate it into DrawIt. I will leave this topic open as a reference that this still needs to be done. Thanks for bringing back up.

    Plugin Author assortedchips

    (@assortedchips)

    I’ve been crazy busy the past few months and will be for the next month or so. This is a good idea, I’ll look further into it probably in June. Thanks for the suggestion!

    Forum: Plugins
    In reply to: [DrawIt (draw.io)] UTF-8
    Plugin Author assortedchips

    (@assortedchips)

    Hi Alexander,

    What kind of files are you trying to import? Can you provide a link to one that is not importing for you? I tried importing a few different types of images into the plugin and it is working fine for me.

    Plugin Author assortedchips

    (@assortedchips)

    @min83

    I will take a look at this, but I’m guessing that the “User Role Editor” plugin isn’t setting a user’s status as being able to “edit posts” or “edit pages”, which have built-in WordPress functions to check and which I use in the DrawIt plugin to tell if the DrawIt functionality should be available to someone in the frontend. I’ll have a better idea of what is going on after I get a chance to look at how the User Role Editor plugin works, and then I’ll update here what I’ve found out.

    Thread Starter assortedchips

    (@assortedchips)

    I had only tried with the text editor before, but I just tried the photo module and it happens there also. However, the difference with the photo module is that it provides a place for the user to specify what the class should be in the “Advanced” tab (but by default that field is blank). Perhaps that class field in that “Advanced” tab should be pre-populated with the wp-image-## class that typically would be associated with the image. Thanks!

    Plugin Author assortedchips

    (@assortedchips)

    Hmm, that’s interesting. I just tried it with both the “User Submitted Posts” and “Write Here” plugins, and it worked fine for me with both of them. Do you have any caching plugin or anything like that where you can try clearing the cache?

    If that still doesn’t work, what is the version of everything you’re using? WordPress, web hosting servers / OS, PHP, web browser?

    Plugin Author assortedchips

    (@assortedchips)

    Hi all,

    Thanks for the suggestions. I have updated the plugin to support frontend-based editors (like Beaver Builder). Please install version 1.1.0, update the NEW SETTINGS for the plugin to enable front-end editing, and let me know if you run into any problems.

    Note that there is currently a problem where if you use Beaver Builder to add images via this DrawIt plugin, then switch back to the normal WordPress backend editor (i.e., not using Beaver Builder), the class names are lost for that image. This means that you will not be able to edit the image again in DrawIt unless you are in Beaver Builder or (as a workaround) you copy the missing class attributes back over to the backend editor. I have submitted a help ticket for the Beaver Builder plugin asking them to address this issue.

    Thread Starter assortedchips

    (@assortedchips)

    Problem solved.

    I am using WP Offload S3 plugin. Just a moment ago I got the notification that there is an update for it that fixes this problem.

    Plugin Author assortedchips

    (@assortedchips)

    Normally SVG images can have links in them. However, WordPress prevents this from happening for security reasons. There is a workaround for this, which will likely be in the next version of the DrawIt plugin. You can read the discussion on this here.

    Otherwise, you can use HTML area tags to manually put links on any image: http://www.w3schools.com/tags/tag_area.asp.

    Plugin Author assortedchips

    (@assortedchips)

    Yes, if you select the line, you change the thickness on the right-hand column in the editor as well. The default thickness is “1pt”, and you can make it thicker by clicking the up button or manually entering the thickness you want.

    Plugin Author assortedchips

    (@assortedchips)

    That’s interesting. I think the draw.io folks must have updated their API to have a white background by default. You can get rid of the white background and make the background transparent (or a specific color) by clicking anywhere on the canvas and then unchecking or changing the color of the “background” option on the right-hand side of the editor. That should work – let me know this is unclear or doesn’t work.

    Plugin Author assortedchips

    (@assortedchips)

    Yes, apparently this is a problem with Safari’s support of SVG images (learn something new every day!). It appears that this only occurs in Safari when the SVG image is referenced via an <img> tag, but everything gets displayed correctly if the <img> tag is replaced with an <object>. For example:

    broken image:
    <img src="pathtoimage.svg">

    changes to:
    <object data="pathtoimage.svg" type="image/svg+xml" width="100" height="80"></object>

    Note that “src” becomes “data”, you have to have a closing </object> tag, and the object needs to have width and height specified or else a scrollbar will show up.

    I will add an option in the DrawIt settings page to output SVG as object tags instead of img tags, but that won’t be for a while. For now you can manually specify the <object> way of doing this if you need SVG support in Safari. Note that if you choose to do <object> tags, then you won’t be able to use DrawIt to edit an <object> tag that you have selected (only supports editing <img> right now), so I will also have to implement <object> support with the future update as well when I get to it eventually.

    Plugin Author assortedchips

    (@assortedchips)

    It looks like the draw.io website also changed their SVG encoding format that gets returned to this plugin. I have updated this plugin. Please update to version 1.0.15 and try again. This works fine for me now, including when used within the Documentor plugin.

    Plugin Author assortedchips

    (@assortedchips)

    I just want to look at the SVG file itself. Can you put an example copy of the SVG image somewhere public and provide a link to just the image?

    Also, have you tried simply refreshing the page? Sometimes if you delete an image and create a new one with the same name, the cached version of the deleted image still shows up on the page. However, I don’t expect this to work for you, as you said already that the image shows correctly in the admin page, just not on the front-end page.

    Plugin Author assortedchips

    (@assortedchips)

    Is the page accessible to the public? Can you provide a link to the web page?

Viewing 15 replies - 46 through 60 (of 90 total)