javascript - HIghlight words in DOM without injecting additional Nodes -
i want specific text (ranges/nodes) in dom
highlighted (spellchecking) without inserting additional nodes
dom
. unfortunately, solutions (i found spellchecking) exist out there rely on modifying dom
(adding additional spans
wrap text ranges).
would absolute positioning of divs
lower z-order text range has highlighted (for example, black text on top of yellow background/rectangle) work? of course, might problematic whenever window/container size changes.
do know of other solutions work?
Comments
Post a Comment