First Last Prev Next    No search results available
Details
: "Enter key creates a new paragraph": misbehaves with empt...
Bug#: 26215
: smarttemplate4
: General
Status: RESOLVED
Resolution: FIXED
: PC
: Linux
: unspecified
: P2
: normal
: ---

:
:
:
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Richard <racorbin2010@charter.net>
Assigned To: Axel Grude <axel.grude@gmail.com>
:

Attachments
SmartTemplate 1.3 prerelease 17 (371.49 KB, application/x-xpinstall)
2016-05-20 07:13, Axel Grude
no flags Details
SmartTemplate 1.3 prerelease 30 (379.36 KB, application/x-xpinstall)
2016-06-26 14:23, Axel Grude
no flags Details
SmartTemplate 1.3 prerelease 47 (380.29 KB, application/x-xpinstall)
2016-07-03 14:34, Axel Grude
no flags Details
SmartTemplate 1.3 prerelease 48 (380.28 KB, application/x-xpinstall)
2016-07-04 05:28, Axel Grude
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2016-04-28 14:59
In Thunderbird v45.0 I turned on in Thunderbird preferences the "When using
paragraph format, the enter key creates a new paragraph" option. I use
SmartTemplate4 for REPLY, with nothing typed into the "Template" section; I
only use the "Quote Header" section. If I do a Reply, the email starts
correctly in Paragraph mode. But when I type the first letter of the email, the
email a) changes from Paragraph mode to "Body Text" mode and a blank line is
inserted between the first line and my signature.

Axel Grude suggested a workaround of adding <p>%cursor%</p> in the "Template"
section of my reply. This solves my problem, but he suggested I add a bug
report so this solution may be automated.
------- Comment #1 From Axel Grude 2016-05-20 07:13:56 -------
Created an attachment (id=8188) [details]
SmartTemplate 1.3 prerelease 17

Adds an option "Force Paragraph Mode" which will force-wrap the cursor position
of the template in a paragraph.
------- Comment #2 From Axel Grude 2016-06-26 14:23:45 -------
Created an attachment (id=8199) [details]
SmartTemplate 1.3 prerelease 30

Latest version with localisation
------- Comment #3 From Axel Grude 2016-07-03 14:34:11 -------
Created an attachment (id=8202) [details]
SmartTemplate 1.3 prerelease 47

Added some more improvements when creating the <p> flag around the cursor
position. If the cursor position is already in a paragraph no special action is
taken. Otherwise a new <p> tag is started by backtracking to the last block
closing tag (</div> or </p>) or <br> and start the new <p> from there. 

The new <p> tag is then closed when encountering the next opening block element
(<p> or <div> again).
------- Comment #4 From Axel Grude 2016-07-04 05:28:53 -------
Created an attachment (id=8203) [details]
SmartTemplate 1.3 prerelease 48

Bugfix
------- Comment #5 From Axel Grude 2016-07-20 10:22:25 -------
Resolved in Release 1.3 - 11/07/2016

First Last Prev Next    No search results available