Skip to main content
0 votes
1 answer
46 views

I'm trying to change a variable when I click on specific text in a content editable div, trying to simulate a hyperlink. When I console.log the target on Noteblock events and use an if statement to ...
Out of Nightvale's user avatar
0 votes
0 answers
28 views

I’m facing a caret-position issue in Safari when working with non-editable elements inside a rich-text editor (for example Jodit). When an inline or block element inside the editor is marked as non-...
Niraj DCP's user avatar
0 votes
1 answer
55 views

Is it possible to applay the contenteditable attribute to selected columns in an HTML table? According to https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/col and https://...
Manngo's user avatar
  • 17k
1 vote
0 answers
52 views

I would like to have more space between words in a contenteditable div. Word-spacing css property works very well on Chrome on Windows and Android, but on iPad the caret is often positionned in the ...
jwtrees's user avatar
  • 381
0 votes
0 answers
47 views

We are making a complex text editor using a contentEditable DIV. On mobile, when virtual keyboard give a suggestion or autocorrects a word, a single input event is first called of type ...
jwtrees's user avatar
  • 381
0 votes
1 answer
111 views

I’m working on an input field that combines user input (userText) and AI-generated suggestions (aiText). The goal is to make them appear as part of the same sentence, even when the user hasn’t ...
Zethyst's user avatar
  • 215
-1 votes
1 answer
83 views

So i am using a <span> with contenteditable="true". onkeydown generates new elements with the key pressed as text. I use preventDefault() to not show the pressed character in the input ...
Maze's user avatar
  • 121
0 votes
1 answer
71 views

The JS code is there to remove remaining newlines when h1.textContent is empty, so that :empty::before gets applied. This is a simplified version of the code I'm working on (so inclusion of "...
Kroaker's user avatar
  • 11
4 votes
1 answer
86 views

My table has 3 cells: the first two contain inputs, and the third one has my contenteditable. Each cell has a width of 33.333%. When I type text into an input and it overflows, everything works fine — ...
Seredniy's user avatar
  • 478
0 votes
0 answers
34 views

I'm working on a text editor where users can edit individual words, and I'm running into an issue with the cursor position resetting while typing. Each time a character is typed, the cursor jumps to ...
hey's user avatar
  • 91
0 votes
1 answer
42 views

I'm building a tool to help me with multi-part tweets when I need to separate the character limitations into separate tweets. I want it built so that if I copy a large body of text or freely type into ...
Jake Hembree's user avatar
1 vote
1 answer
90 views

I am developing a text editor for the web frontend, and I want to highlight the line where the text caret is located. Normally, it should be quite simple to implement: just by listening to the ...
Linke's user avatar
  • 358
1 vote
1 answer
61 views

I am using a content editable list. Currently I am not able to solve the following chrome problem (it works fine in FF at least). When you click after the end of the following lines, the cursor is ...
Basti's user avatar
  • 769
0 votes
1 answer
320 views

I know there are examples, but I don't seem to be smart enough to figure out what to do. I'm working on a JavaScript application where users can create notes with tags. I'm using the Tagify library to ...
abalter's user avatar
  • 10.5k
0 votes
1 answer
46 views

I have a contenteditable div with the ID editor. I'm encountering an issue where the editor keeps expanding in height as I add content. I have overflow-y set to auto, but instead of adding scrollbars, ...
ally's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
172