Skip to content
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

Textstyle on textbox not set on all words after editing #2448

Closed
marcovdijk opened this issue Aug 26, 2015 · 5 comments
Closed

Textstyle on textbox not set on all words after editing #2448

marcovdijk opened this issue Aug 26, 2015 · 5 comments

Comments

@marcovdijk
Copy link

When you add a textbox object you can edit the styles just fine like changing the fontSize and textDecoration etc. But when you edit the text and then try changing the style the changes don't apply to the newly added words:

http://jsfiddle.net/kg9weds5/8/

@asturur
Copy link
Member

asturur commented Aug 26, 2015

I see that when inserting new letters a style object for them is created.
While it should not if the surrounding text has no style.

@ozooner
Copy link
Contributor

ozooner commented Sep 9, 2015

Came across same issue (can confirm)

@danmindru
Copy link

Easy to reproduce in the fiddle ->
'Bug'
Works fine with the initial text (edit mode too).

@asturur
Copy link
Member

asturur commented Sep 27, 2015

Running the fiddle with a recent version of library instead of pasting the full library on the fiddle.
It works as expected.
http://jsfiddle.net/kg9weds5/10/

@asturur asturur closed this as completed Sep 27, 2015
@marcovdijk
Copy link
Author

Awesome, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants