quicktext: [[CURSOR]] tag not working in HTML mode
The following template code fails setting the cursor to the wanted position.
<p>Dear [[TO=fullname]],</p>
<p>[[CURSOR]]</p>
<p>Best regards<br>
John Sample<p>
Instead it produces:
Dear John Sample,
[[CURSOR]]
Best regards John Sample
The error message in the debug console is:
Argument 1 of Range.setStart is not an object. quicktext.js:550
insertBody chrome://quicktext/content/quicktext.js:550
insertTemplate chrome://quicktext/content/quicktext.js:359
editorKeyPress chrome://quicktext/content/quicktext.js:797
load chrome://quicktext/content/quicktext.js:48
Can you help? 😃
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (10 by maintainers)
Commits related to this issue
- possible fix for #142 by removing complexity — committed to jobisoft/quicktext by jobisoft 4 years ago
- impr #142 — committed to jobisoft/quicktext by jobisoft 4 years ago
I consider this fixed. Thanks for your help @ovari !
I was able to reproduce it and I may have fixed it (that cursor code is one large black box with ancient code from Emil).
quicktext_pre.xpi
@Nerd2k : Can you verify? Remove your current version of quicktext, restart TB, close AddOnManger, reopen AddOnManager and install this version via the gear menu in the AddOnManager. You cannot just install it over the current installed version.
@Nerd2k @SamuelPlentz
Is any of you able to verify, if the [[CURSOR]] tag still works on linux with this version?