cgutteridge / augmented-copy Goto Github PK
View Code? Open in Web Editor NEWExperiments with HTML linking to target text in a document
License: Apache License 2.0
Experiments with HTML linking to target text in a document
License: Apache License 2.0
This will work like the block quotation except use the text version of the selected range and be wrapped in a span (inline) element so that it flows in the block.
Currently it scrolls to the relevant position and marks the selected area with [[ to ]] and some arrows labelling them.
Thoughts of a better version could be to highlight the area yellow or put Giant Quotation Marks around them or colour the text red.
On highlighting a highres range, if the start or end is at a paragraph break then the marker appears between paragraphs. It would be better if the end marker appeared directly after the last text element within the same parent and the start marker directly before the text in it's parent. This may cause issues for elements so maybe go up from them to their parent? Maybe even all common span type elements? (b,i,a,span etc)
In this format:
quote={This is the text which was selected by the user.}
Either the cmd-c should work or we need a copy as plain text please.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.