• Resolved Rick Hellewell

    (@rhellewellgmailcom)


    If you create a comment, then save it, then right-click the ‘edit’ button and select ‘open in new tab’, you get a page with only the number ‘0’ on it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ronald Huereca

    (@ronalfy)

    @rhellewellgmailcom apologies, but editing only works inline. There’s no separate edit page.

    Thread Starter Rick Hellewell

    (@rhellewellgmailcom)

    Perhaps there should be some way to intercept that ‘open in new tab’ function that is done by a clueless user. Who has complained about the effect. Don’t know if there is a way to determine that a new window was opened. But got a complaint from a regular commenter today about the issue.

    Plugin Author Ronald Huereca

    (@ronalfy)

    @rhellewellgmailcom not that I’m aware of. But edit links shouldn’t work in new tabs. I can add an error message instead perhaps?

    Thread Starter Rick Hellewell

    (@rhellewellgmailcom)

    Maybe add some code to the ‘edit’ button to disable the right-click/open in new tab. Probably some JS code to change the DOM element of the button.

    Maybe something like this (not tested, and I’m not a DOM guru):

    link.addEventListener("contextmenu", (event) => {
        event.preventDefault();
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Right-click of Edit Button action’ is closed to new replies.