GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — A tag click enhancements by carterhudson · Pull Request #191 · SufficientlySecure/html-textview

This repository was archived by the owner on Sep 7, 2020. It is now read-only.

Conversation

@carterhudson

@carterhudson carterhudson commented Aug 28, 2020

Copy link
Copy Markdown
  • Adds ability to set the A tag click listener anywhere, instead of strictly before a setHtml call
  • Returns the spanned text in the callback
  • Return true or false from the A tag click listener to indicate whether you want the click event to follow through with the movement method, or consume the click and handle the href yourself.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Carter Hudson and others added 4 commits August 27, 2020 19:16
Carter Hudson
add spanned text to A tag listener output, follow through with href m…
cea5163
…ovement instead of hijacking
Carter Hudson
use callback provider so we can set a click listener at any point ins…
ea7c90c
…tead of only before setHtml
Carter Hudson
return tag click event consumption
2fdde10
@dschuermann
Merge branch 'master' into master
8e3fe9c
@dschuermann
dschuermann merged commit 88a013f into SufficientlySecure:master Sep 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@carterhudson @dschuermann
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.