question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[[CURSOR]] tag not working in HTML mode

See original GitHub issue

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? 😃

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
jobisoftcommented, Feb 19, 2020

I consider this fixed. Thanks for your help @ovari !

1reaction
jobisoftcommented, Feb 18, 2020

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?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is the hand cursor not showing in anchor tag when ...
I have this markup, a label wrapped in an anchor tag, but the problem is the cursor when you hover this doesn't change...
Read more >
cursor - CSS: Cascading Style Sheets - MDN Web Docs
The cursor CSS property sets the mouse cursor, if any, to show when the mouse pointer is over an element.
Read more >
Cusor pointer css is not working for html map > area tag
Method 1: Try to open Internet Explorer 10 in no-add ons mode and check if you're able to load the websites. a) Press ......
Read more >
cursor - CSS-Tricks
The cursor property in CSS controls what the mouse cursor will look like when it is located over the element in which this...
Read more >
CSS cursor property - W3Schools
Property Values ; not-allowed, The cursor indicates that the requested action will not be executed, Play it » ; pointer, The cursor is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found