Vectorlight News

  • Chat App Converted to HTML and JQuery
    Sep 08, 2011

    Converted from Silverlight to HTML and Javascript/JQuery is the Vectorlight Chat App. Login using your Vectorlight password to chat using your username and avatar.

  • HTML5 iPhone,Android Big Guns Tower Defense
    Jul 02, 2011

    Big Guns has made the leap from Windows Phone 7 (XNA) to HTML5 so you can now play it on your iPhone, Android and other HTML5 compatible devices.

  • HTML5 Games - Word Poppers and Batty
    Jun 04, 2011

    As the take-up of HTML5 quickens (74% of users currently have a browser capable of HTML5 Canvas) we present two more games for both your browser and mobile.

  • Big Guns Tower Defense on Windows Phone 7
    May 06, 2011

    Coming soon to Windows Phone 7 is an XNA port of the popular Vectorlight tower defense game Super Tower Defense. Whilst retaining many of the graphical and gameplay features of the original Silverlight game.

  • Wakacube WP7 Update
    Apr 26, 2011

    Released to the Windows Phone 7 marketplace today is Version 1.1 of Wakacube the 3D physics game of skill. Included in the update are more levels (30 in total) and new mode Wakatime which generates random crate structures to keep players entertained long after the levels have been completed.

  • Home Page News
niamor83
niamor83
Bold on multiple lines is not working Posted: Oct 19, 2011
 

Hello,


I'm currently using the RichTextbox in Silverlight.

I download the "RichTextEditor" code from your site and I use the different formatting buttons.

Regarding the "Bold" button, it's working well if I use it only for one line or one word. However, when I try to use it on "multiple lines", I have some issues.

Here is a procedure to reproduce this:


1) Select multiple lines in the RichTextbox and put the text in bold

2) First time, the bold is on the multiple lines => OK

3) I save the value in a database by using a code like this:

return rtb.Save(Format.HTML, RichTextSaveOptions.InlineStyles | RichTextSaveOptions.ExcludeCustomStyles);

3) When I reload this data from the database and display it in the RichTextbox, only the first line is bold, the formatting has been removed from the next lines.


Can you tell me if you encountered this can of issue? Is it fixed in the last version?


Thanks in advance for your help.

Best regards

 
 
niamor83
niamor83
RE: Bold on multiple lines is not working Posted: Oct 21, 2011
 

Hello,


Here is an example of the behavior:

I put the following words in the RichTextBox:


Text 1

Text 2

Text 3


And then I Apply the "Bold" on the 3 lines.

The "rtb.save" method return the following HTML:


<p><span style="font-weight:bold;">Text 1</span></p>

<p><span>Text 2</span></p>

<p><span>Text 3</span></p>


As you can see, the bold formatting has been lost for the lines 2 & 3:


Thanks in advance and don't hesitate to ask me if further information can help you to understand this issue.

Best regards

 
 
tomas.k
tomas.k
RE: Bold on multiple lines is not working Posted: Nov 17, 2011
 

Hi,


I have similar problem. Export to html has a lot of bugs and somtimes work well, sometimes not. Is there any chance to fix these issues soon? The last version 5.3.3 is quite old, so what are plans for the future releases?


Thanks for answer.