This is a migrated thread and some comments may be shown as answers.

[Solved] Snippet dropdown empty when font & font height not inherited

2 Answers 103 Views
Editor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
dfgdfgdfgdfg
Top achievements
Rank 1
dfgdfgdfgdfg asked on 02 Nov 2010, 03:34 PM

Hi,

I added snippets to my editor, it works fine as long as the style is inherited, like in snippetsgood.png.
When I click somewhere in the text where the style is not inherited, and then expand the snippets dropdown, the dropdown is empty, like in snippetsbad.png
This issue appears in every browser I have (IE8, FF 3.6.12 and Chrome 7.0.517.41 )

My editor code :

Html.Telerik().EditorFor(model => model.Mail.Content)
                .Name("Content")
                .Tools(tools => tools.Snippets(snippets =>
                    Model.AvailableTags.ForEach(i => snippets.Add(i.Name, i.Content))
                    ))


Do you know how to fix it?

Thanks,
Thomas

2 Answers, 1 is accepted

Sort by
0
Accepted
Alex Gyoshev
Telerik team
answered on 03 Nov 2010, 09:40 AM
Hi Thomas,

Do you observe this problem with the snippets online demo? Or with the latest internal build (attached to this post)? If you do, please send the required steps to reproduce the problem, as we were not able to observe it.

Best wishes,
Alex Gyoshev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
dfgdfgdfgdfg
Top achievements
Rank 1
answered on 03 Nov 2010, 10:21 AM
Hi,

The latest build solves the bug, thanks!
I wasn't able to reproduce the problem on the online demo, because the demo has only the snippets dropdown, and no font or size dropdown.

Thanks again,
Thomas
Tags
Editor
Asked by
dfgdfgdfgdfg
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
dfgdfgdfgdfg
Top achievements
Rank 1
Share this question
or