This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from ckeditor/t/7
Feature: Introduced the observable `Watchdog#state` property. Introduced the `minimumNonErrorTimePeriod` configuration which defaults to 5 seconds and will be used to prevent infinite restart loops while allowing a larger number of random crashes as long as they do not happen too often. Renamed `waitingTime` configuration option to `saveInterval`. Closes #7. Closes #15. BREAKING CHANGE: Renamed `waitingTime` configuration option to `saveInterval`.
- Loading branch information
Showing
7 changed files
with
340 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,25 @@ | ||
<button id="random-error">Simulate a random `Error`</button> | ||
|
||
<button id="restart">Restart both editors</button> | ||
<div class="editor"> | ||
<div>First editor state: <span id='editor-1-state'></span></div> | ||
|
||
<div id="editor-1"> | ||
<h2>Heading 1</h2> | ||
<p>Paragraph</p> | ||
<div id="editor-1"> | ||
<h2>Heading 1</h2> | ||
<p>Paragraph</p> | ||
</div> | ||
</div> | ||
|
||
<div id="editor-2"> | ||
<h2>Heading 1</h2> | ||
<p>Paragraph</p> | ||
<div class="editor"> | ||
<div>Second editor state: <span id='editor-2-state'></span></div> | ||
|
||
<div id="editor-2"> | ||
<h2>Heading 1</h2> | ||
<p>Paragraph</p> | ||
</div> | ||
</div> | ||
|
||
<style> | ||
.editor { | ||
margin-top: 20px; | ||
} | ||
</style> |
Oops, something went wrong.