
keepnote - issue #232
KeepNote editor does not stop formatting text (see description)
What steps will reproduce the problem? 1. Open new notebook and page 2. Create a template for data like so: (formatting for example only) [bold]Section Title[/bold] [italics]Item 1[/italics] [italics]Item 2[/italics] [italics]Item 3[/italics] 3. Copy and paste that a couple times in the page 4. insert a line between Title and Item 1 5. put cursor at end of Item 1 and hit enter 6: Enter new text (and see that it's in italics) 7: Hit Enter at end of new text 8. click on the Italics button in format toolbar (or ctrl-i) 9: type another line of text (notice that it is still in italics)
What is the expected output? What do you see instead? I created this template for a report I was working on using the format listed above. The title is a sectional title. Item X in italics is a "question to be answered" ALl lines after Item X until the next Item line were to be in regular, non-italicised text, but in many cases, the Italics format sticks even after clicking the Italics button.
I CAN highlight a line of text and remove italics, and 75% of the time KeepNote honors that and the next and subsequent lines of text are not in italics. However about 25% of the time, the next line is again in italics, and sometimes, I can delete a few of the last characters on a line in non-formatted text, retype those characters, and the new characters appear in italics.
At the very least, being able to view the format marks would be nice, so I could position the cursor correctly, or allow it to simply accept basic html formatting like <b> and <i> as markup instead of using ctrl+Letter and toolbar buttons.
What version of the product are you using? On what operating system? Using version 0.6.2 on Ubuntu 9.10 64bit
Please provide any additional information below. Further investigation and I know more what's going on here...
Lets say I type the following into a note:
Item 1 Item 2 then I highlight both lines and click the I or hit ctrl-i.
What happens is this:
<i>Item 1 Item 2</i>
What SHOULD happen is this:
<i>Item 1</i> <i>Item 2</I>
I also noticed that if I create this (Im including keystrokes so you can see what I'm doing)
[ctrl+b]Title[ctrl+b] [ctrl+i]Item 1[ctrl+i] [ctrl+i]Item 2[ctrl+i]
I get an HTML page that looks like this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>test page</title> </head><body><b>Title</b><br/> <i>Item 1</i><br/> <i>Item 2</i></body></html>
And now, if I hit delete and delete all text, I get this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>test page</title> </head><body><b></body></html>
But only some times... sometimes that leading <b> is also deleted, sometimes not. But there's no indication either way...
This behaviour is very confusing.
Comment #1
Posted on Jun 15, 2010 by Quick Elephant(No comment was entered for this change.)
Comment #2
Posted on Nov 7, 2010 by Quick Elephant(No comment was entered for this change.)
Status: New
Labels:
Type-Enhancement
Priority-Medium
editor