Question: How to get the last text added
See original GitHub issueHey Etherpaders, Iāve been struggling to find a way to implement a feature that highlights every user edition after entering in a āsuggesting modeā. I didnāt find a way to have the information of the new text added to apply the an attribute only on this part. What do you guys recommend to achieve it?
What Iāve tried:
- Setting an attribute on
contentCollectPre
, but this applies the attribute on all line or all span (it does not get only the part edited). - Clear the Authorship [1] of the all document and use the hook
aceSetAuthorStyle
to apply a special color for every author [2]. This is hacky and kinda works, but on long documents takes over 20 seconds to process the step [2] and the browser gets unresponsive as well. To [2] takes effect I need to reload the editor.
An example of this feature on Google Docs
I know this is not the best place to ask questions, as this is not a Etherpad issue per se. Sorry if Iām breaking any rule
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How to get last text between two text? - flutter - Stack Overflow
You can try with below lines enter image description here. String text='Hello hi Monkey'; print("Lst Word: ${text.substring(text.
Read more >Question & Answer Piping - SurveyMonkey Help
Click the question text or answer choice field into which you want to pipe a previous answer, and leave your cursor in the...
Read more >Add and format text answer questions | iAuditor
This article shows you how to add and format text answer questions via the web app and the mobile app. Before you begin....
Read more >Qualtrics - How to add a text box to a multiple choice question
Qualtrics - How to add a text box to a multiple choice question. ... Top 5 Excel Functions for Finance People (with end...
Read more >Set rules for your form - Google Docs Editors Help
Set up rules for a question Ā· Open a form in Google Forms. Ā· Add one of the following types of questions: Short...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Holy crap thatās a horrible UX š”ļø
I can see why you want to fix itā¦
So stupid question, but are you familiar with the Timeslider? I āthinkā you just want to see what edits user Y has made since point X in time? Why not just make timeslider only show edits from X rev and only follow Y user?
Their UX is horrible, donāt do that, please.
I couldnāt agree more, their UX is horrible. Thanks for you help Jhon. Iām gonna try something on that direction šš½