-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
IText Clone object, pass reference to style object instead of cloning it. #2396
Comments
please post a fiddle, help us checking the bugs faster. |
Can you show us how you clone the itext? otherways is not possible to help you. |
if (fabric.util.getKlass(obj.type).async) { |
Here is the fiddle... http://jsfiddle.net/rihanrahul/6zmu0zce/ Please follow the steps mentioned above to reproduce the issue. |
changing the util.extend function with something like this solve the problem I m really not able to identify potential drawbacks here,
|
Add an IText with some initial text eg:-sample, delete all characters(sample) using delete key/backspace key type new content (eg:-mytext).
Take clone of edited IText
Update color of single character the changes reflected to parent also
change the color by selecting "my" in mytext
The text was updated successfully, but these errors were encountered: