The difference between “Save (as PNG to URL)” and “Save (as Serialization)” is that Saving as PNG saves an image file (you’ll get a URL path to a .png file that you can save to your database) VS saving as serialization saves a JSON with a representation of what elements are on the canvas (you’ll get something that’s type text that you can save to your database and load onto another canvas to continue editing the elements by adding/remove shapes, resizing stuff, etc). Does that make sense? Happy to explain further, I understand this part is a bit confusing.
You can change the default selector color – if that’s what your asking.
Thanks for reporting the console error. I’ve just pushed an update that removes that issue!
Hey @SerPounce – The plugin is currently responsive like any standard Bubble element (i.e. it expands and contracts in width based on the page width). Let me know if you have any other questions!
@cmarchan – I think I’m starting to understand what you mean! I think this would require a few new features for the plugin:
A “unique ID” for each text element
A way to save/store the unique ID once new text element added to the canvas
A state on the canvas that exposes the selected element’s “unique ID”
A workflow action to select text elements on the canvas by their “unique ID”
That way, let’s say you have Text A already on the canvas and add Text B and Text C to your canvas. You want to associated B and C with A, in your Bubble database, you can make Text A associated with Text B and C’s unique ID’s and use a workflow action to select Text B and C on the canvas using their unique ID’s. How would that work for your use case?
The use case is to be able to create/draw these text boxes on top of an rg image … say a group element where it’s background is set as an image …ñ and the text boxes can be added on top of that image to place comments.
Say an rg of 5 columns with each holding a group set to an image (an entire website image .thus the image will be rather high … say 500px) where one can place comments over it … and find similar comments (same category type comment) on the other columns.
It sounds very difficult to be achieved. What do you think Alex. Could this be possible?
All the elements are included in this text (saved as serialization) for example images? What happens if I save the canvas with some images and drawings as serialization and then delete the images from the database, are the images still accesible?
Where can I do this? I don´t see the option
Perfect, thanks
Can I use the event “When Drawing/Painting Canvas Has Been Modified” like autobinding the canvas and save the canvas every time this happens?
@cmarchan to clarify your use case here, you’d plan to put the canvas inside of a cell in a RepeatingGroup? If so, I’m not sure, I’d need to test it out to see if something like what you’re asking about would be possible.
All the elements are included in this text (saved as serialization) for example images? What happens if I save the canvas with some images and drawings as serialization and then delete the images from the database, are the images still accessible?
Yes, all elements from the canvas are saved to the serialized text string. As long as the URL path to the image files are still active (which is true even if you delete a thing in your database that refers to an image), the image will appear if you use the “Load Serialized Canvas” workflow action.
Where can I do this? I don´t see the option
In order to change the default color on the color picker, you can change the hex color color on the reusable element here (see the field “Data source”):
@aileen_carbonell12 thanks for the kind words. Let me know if there’s any other feedback you have!
@hacker hmm could you clarify what RE is? I’m not quite sure what you mean by that but assuming you want to know how to access the serialized canvas, here’s an answer: the “Save (as Serialization” updates the state on the Canvas element called “This Drawing/Painting Canvas’ Serilalized Canvas”. See the screenshot below:
I am just discovering the “Load serialized canvas” and all that.
When I need to save the canvas as “autobinding” to a text field, the workflow should be “Canvas-Drawing/PaintingCanvas A has been modified” and the first action should be save as serialization and next a “Make changes to thing” and the text field = This Canvas Serialized Canvas?
When I need to save the canvas as “autobinding” to a text field, the workflow should be “Canvas-Drawing/PaintingCanvas A has been modified” and the first action should be save as serialization and next a “Make changes to thing” and the text field = This Canvas Serialized Canvas?
It takes the page a second or two to generate the serialization; for this reason, there’s an event that comes with the plugin called “A drawing/painting canvas serialization has been generated” – you should run the “Make changes to your thing” action when that event fires. Does that make sense?