I am trying to implement a web-based rich text editor that will automatically decorate the user's text while he's typing (think spellcheck). The issu ...
I am trying to implement a web-based rich text editor that will automatically decorate the user's text while he's typing (think spellcheck). The issu ...
I want to search for a text in HTML element and return the Range object for the text. I wanted to use the range to do some manipulation like highlight ...
im using Rangy for highlighting text in my web page. is there a way to set multiple styles for user to choose for highlighting text ? for example when ...
I can highlight the selected text and remove it.However, after highlighting the selected text I want to save page and I want to be able to select it a ...
I am trying to auto-detect addresses on a page and add the class "address" where found. Called via: On text in a paragraph: The regex is work ...
The below code snippet is working well for all browsers except Microsoft Edge. Is there anything we need to specifically add for Edge? ...
I have a rather complex Vue component which involves a contenteditable div. I'd like to highlight words in this div using Rangy and add additional mar ...
What I am trying to achieve I am building input-like content editable div. You are supposed to click some tags outside the div to add them inside the ...
This happens only in Firefox. Important: I am saving the caret's position with rangy.saveSelection(): when click the content editable div on ke ...
The problem I am building a custom boolean search input that should accept the boolean tags under the form of some "boolean tag bubbles" that can be ...
I'm developing an e-learning application. In one exercise, I'd like to have our students read a text, flag mistakes that I put in it and evaluate thei ...
I'm testing Rangy library as a way to highlight text. It's seems easy to select and highlight text. But, I'm facing the following case: Say there is ...
Angular 4 and modules: Rangy I followed the instructions above to import rangy. I want to use TextRange's function expand() in Rangy's documentation. ...
I am using the rangy library to add a class to the selected text, but instead of adding a class to the <span> I would like to add it to the exis ...
I am using rangy selection method for highlighted text. Get highlighted and remove highlighted functionality are working fine for me but the problem i ...
I am using Rangy Library for highlighting text. When I use the following code, it simply add a span tag with the class note if there are no tags and w ...
I'm very sorry for asking such a beginner question, but I just learned the basics of JS without and do not completely understand the new ES6-features. ...
I'm new to Angular 4, I just created a simple app forking the Angular quickstart and now I'm trying to import Rangy. On package.json I now have the f ...
On an editable content, I had place 3 buttons on top: B, I, U On Firefox it works ok, but on Chrome, it seems that the selection is lost on click, be ...
JSfiddle for reference: https://jsfiddle.net/9jp346r4/20/ I am trying to create functionality that allows user to highlight the selected text upon pr ...