Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
UltraFormattedTextEditor and text-align
posted

Hi,

I have an editor that I'm trying to get alignment to work properly and I cant seem to get anything but the entire page/block to work. If I use txtEditor.EditInfo.ApplyStyle("text-align:Right", True) this works for the entire page but if I select some text/lines in my editor with the last param set to "False" nothing happens. Am I wrong in thinking that this code should work like all other formatting options (bold/font/etc) or is there some trick to getting selected text to have different alignment properties?

Any help would be great!

amy