question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

High frequency of value changes

See original GitHub issue

It looks like the CKEditor change event kicks off more often than you might expect it to. I’m using this in my own reusable module for SharePoint forms, and the change event executes after I edit any input elsewhere on the form. It also appears to execute when you click in the editor box, click a toolbar button, etc. Since the updateValue function updates the model value each time (unless you have a debounce set), angular’s valueChanges observable also presents a new value that often if you subscribe to it, even if the value didn’t actually change - sometimes 2-3 times for one click. I’m using Angular 5 and CKEditor 4.8.0.

Can we update the control only if the new value is different from the last value? I can certainly submit a PR for this!

updateValue = function(value) {
    if (this.value != value) {
        . . .
    }
}

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
chymzcommented, Feb 15, 2018

I’m okay with this new behavior, just hope that is not a breaking change for someone 😛

0reactions
chymzcommented, Feb 22, 2018

Change published in 1.2.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

High-Frequency Data - an overview
High-frequency data means a very large amount of data. The number of observations in one single day of a liquid market is equivalent...
Read more >
High frequency data
High frequency data collections were originally formulated by massing tick-by-tick market data, by which each single 'event' (transaction, quote, price movement ...
Read more >
High‐Frequency Changes in Shopping Behaviours ...
Changes in shopping behaviours played only a minor role in driving inflation; higher prices were the main cause, in particular through a ...
Read more >
Detection of changes of high-frequency activity by statistical ...
Objective. A novel type of statistical time-frequency analysis was developed to elucidate changes of high-frequency EEG activity associated with ...
Read more >
A theory of very short-time price change - Financial Innovation
This paper analyzes several parameters considered to affect price changes and identifies four of them as potentially influencing VSTPC. These ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found