New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dimensions passed on URL don't work #320
Comments
Adding the below just above the call to config_.dimensions solves the issue for me but I may not understand the issue. I can submit a PR if desired. |
Ok, there was one issue I've fixed just now in d7b9cc6 that array configs were not being preserved internally as arrays. You'll have to see though what other issues might still be present though as far as dimensions--e.g., updating the Document Properties dialog, etc. |
The changes seem to work. I have not noticed other issues though I only use dimensions, url, lang, and storagePrompt. Thank you. |
Are the dimensions to be reflected in the Document Properties dialog? |
Yes, they are correct in the Document Properties |
The doc mentions that you can pass image dimensions on the URL like so
.../svg-editor.html?dimensions=300,240&canvas_expansion=5&initFill[color]=0000FF
However, when I try to do that with master or several hosted versions, I get a
TypeError: arr[Symbol.iterator] is not a function
error in the console. I could not find a workaround format.
I believe I understand the current status of this project so many thanks for any responses.
The text was updated successfully, but these errors were encountered: