Select to view content in your preferred language

multiline textsymbol in IE 9

932
3
03-16-2012 01:24 AM
by Anonymous User
Not applicable
Original User: OlegG

Hello!
I have a problem with adding a multiline textsymbol in ie9.
It seems that symbols '\n', '\t' are ignored.

P.S. I can't add page meta tag <meta http-equiv="X-UA-Compatible" content="IE=7" /> because of internal reasons.

Could you possibly advise me how to work around this problem? (adding several text symbols instead of one is not a solution because of undo-redo functionality).

Thanks
0 Kudos
3 Replies
ThaoLe
by
Regular Contributor
There's a known bug related to the JavaScript API's TextSymbol:
[#NIM048090 Javascript TextSymbol Text property not honoring new line and carriage return characters in the text. ]

My suggestion is to go on http://ideas.arcgis.com and put an idea on the site to or vote for the idea if it already exists.

The only work around I can come up with is to use 2 TextSymbols. I was also able to get IE9 to work but I needed to use IE7 standards.
0 Kudos
by Anonymous User
Not applicable
Original User: OlegG

There's a known bug related to the JavaScript API's TextSymbol:
[#NIM048090 Javascript TextSymbol Text property not honoring new line and carriage return characters in the text. ]

My suggestion is to go on http://ideas.arcgis.com and put an idea on the site to or vote for the idea if it already exists.

The only work around I can come up with is to use 2 TextSymbols. I was also able to get IE9 to work but I needed to use IE7 standards.


Thanks for the fast answer.
I'll play with several textsymbols instead of one 🙂
0 Kudos
SimonUyttendaele
Occasional Contributor
Hello,

Using newlines "\n" can be supported using the following solution.

Please vote upon the following idea which is precisely about this.

Regards
0 Kudos