bertbeck / gwrite

Automatically exported from code.google.com/p/gwrite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pressing return after a heading creates a div not a p tag

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1. Click the H1 icon
2. Type something, press return
3. Type something else

What is the expected output? What do you see instead?
I expect to see the text indented but instead I see text aligned hard left. 
Looking at the source code I see that after a heading, the next element created 
is a div tag instead of a p tag. I can't find any other way to create a div 
tag, so I'm assuming this behaviour is a bug.

I think it would make sense to create a new p tag after entering a heading.

Version 0.3.0 on Ubuntu 10.04 Lucid.

Original issue reported on code.google.com by callum.m...@gmail.com on 11 Jun 2010 at 9:44

Please try the fresh code in hg, 
it added a DIV style menu

Original comment by jhuangjiahua@gmail.com on 22 Jul 2010 at 2:29

  • Changed state: Fixed
  • Added labels: Component-UI
Err,
it still created a <div> instead of <p> after press return.

Let me see how to change it.

Original comment by jhuangjiahua@gmail.com on 23 Jul 2010 at 1:01

  • Changed state: Accepted
  • Added labels: Component-Logic
  • Removed labels: Component-UI