|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
WYSIWYG Editor and text align
Is there posible to align <p> or <div> to be justified width table or window. The HTML code will be <p align=justify>, but I don't know how to put this in with document.execCommand.
Thanks for sugestions. |
|
#2
|
|||
|
|||
|
You'll need to create a region and add the code to this region manually. I think the command is createRegion or createTextRegion. Just search MSDN and you should find plenty of examples
![]() |
|
#3
|
|||
|
|||
|
Thanks for sugestion but I was looking for simple solution and find this code on MSDN:
Code:
iView.document.execCommand('justifyfull', false, null);
and works for me perfectly. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > WYSIWYG Editor and text align |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|