Skip to content

Commit 2af55aa

Browse files
authored
DOC-3253: Sync suggested edits demo content with model (#3809)
1 parent 78264f4 commit 2af55aa

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

modules/ROOT/examples/live-demos/suggestededits-access-feedback/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<textarea id="suggestededits-access-feedback">
22
{{logofordemoshtml}}
33

4-
<h2 style="text-align: center;">Welcome to the TinyMCE Suggested Edits demo!</h2>
4+
<h2 style="text-align: center;">Welcome to the TinyMCE Suggested Edits interactive demo!</h2>
55

6-
<p style="text-align: center;">Try out the Suggested Edits feature by typing in the editor and then clicking the Review Changes button in the toolbar.</p>
6+
<p style="text-align: center;">Try out the Suggested Edits feature: type in the editor, apply formatting or delete some content. Then, click the Review Changes button in the toolbar to see your changes.</p>
77

88
<p style="text-align: center;">And visit the <a href="https://www.tiny.cloud/pricing">pricing page</a> to learn more about our Premium plugins.</p>
99

@@ -37,7 +37,7 @@ <h2>Found a bug?</h2>
3737

3838
<h2>Finally…</h2>
3939

40-
<p>Dont forget to check out <a href="http://www.plupload.com" target="_blank">Plupload</a>, the upload solution featuring HTML5 upload support.</p>
40+
<p>Don't forget to check out <a href="http://www.plupload.com" target="_blank" rel="noopener">Plupload</a>, the upload solution featuring HTML5 upload support.</p>
4141
<p>Thanks for supporting TinyMCE. We hope it helps you and your users create great content.</p>
4242
<p>All the best from the TinyMCE team.</p>
4343

modules/ROOT/examples/live-demos/suggestededits-access-read/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<textarea id="suggestededits-access-read">
22
{{logofordemoshtml}}
33

4-
<h2 style="text-align: center;">Welcome to the TinyMCE Suggested Edits demo!</h2>
4+
<h2 style="text-align: center;">Welcome to the TinyMCE Suggested Edits interactive demo!</h2>
55

6-
<p style="text-align: center;">Try out the Suggested Edits feature by typing in the editor and then clicking the Review Changes button in the toolbar.</p>
6+
<p style="text-align: center;">Try out the Suggested Edits feature: type in the editor, apply formatting or delete some content. Then, click the Review Changes button in the toolbar to see your changes.</p>
77

88
<p style="text-align: center;">And visit the <a href="https://www.tiny.cloud/pricing">pricing page</a> to learn more about our Premium plugins.</p>
99

@@ -37,7 +37,7 @@ <h2>Found a bug?</h2>
3737

3838
<h2>Finally…</h2>
3939

40-
<p>Dont forget to check out <a href="http://www.plupload.com" target="_blank">Plupload</a>, the upload solution featuring HTML5 upload support.</p>
40+
<p>Don't forget to check out <a href="http://www.plupload.com" target="_blank" rel="noopener">Plupload</a>, the upload solution featuring HTML5 upload support.</p>
4141
<p>Thanks for supporting TinyMCE. We hope it helps you and your users create great content.</p>
4242
<p>All the best from the TinyMCE team.</p>
4343

modules/ROOT/examples/live-demos/suggestededits/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<textarea id="suggestededits">
22
{{logofordemoshtml}}
33

4-
<h2 style="text-align: center;">Welcome to the TinyMCE Suggested Edits demo!</h2>
4+
<h2 style="text-align: center;">Welcome to the TinyMCE Suggested Edits interactive demo!</h2>
55

6-
<p style="text-align: center;">Try out the Suggested Edits feature by typing in the editor and then clicking the Review Changes button in the toolbar.</p>
6+
<p style="text-align: center;">Try out the Suggested Edits feature: type in the editor, apply formatting or delete some content. Then, click the Review Changes button in the toolbar to see your changes.</p>
77

88
<p style="text-align: center;">And visit the <a href="https://www.tiny.cloud/pricing">pricing page</a> to learn more about our Premium plugins.</p>
99

@@ -37,7 +37,7 @@ <h2>Found a bug?</h2>
3737

3838
<h2>Finally…</h2>
3939

40-
<p>Dont forget to check out <a href="http://www.plupload.com" target="_blank">Plupload</a>, the upload solution featuring HTML5 upload support.</p>
40+
<p>Don't forget to check out <a href="http://www.plupload.com" target="_blank" rel="noopener">Plupload</a>, the upload solution featuring HTML5 upload support.</p>
4141
<p>Thanks for supporting TinyMCE. We hope it helps you and your users create great content.</p>
4242
<p>All the best from the TinyMCE team.</p>
4343

modules/ROOT/pages/suggestededits.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The {pluginname} model is a JSON object representing the document along with all
2727

2828
The structure of the model is not documented and should not be relied upon.
2929

30-
The model can be retrieved from the plugin using the xref:#get_model[`+getModel+`] API, saved externally alongside the document, and loaded into the editor with the xref:#suggestededits_model[`+suggestededits_model+`] option. This ensures that the document and the model are in sync and every user's contributions are tracked correctly. If the model and content are out of sync when the editor loads, the difference between them will be applied as a suggested edit by the current user. If a model is not provided in the editor configuration or is set to `+undefined+`, the plugin will generate a new model from the initial content.
30+
The model can be retrieved from the plugin using the xref:#get_model[`+getModel+`] API, saved externally alongside the document, and loaded into the editor with the xref:#suggestededits_model[`+suggestededits_model+`] option. This ensures that the document and the model are in sync and every user's contributions are tracked correctly. If the model and content are out of sync when the editor loads, the difference between them will be included in the next edit by the current user. If a model is not provided in the editor configuration or is set to `+undefined+`, the plugin will generate a new model from the initial content.
3131

3232
Alternatively the xref:#suggestededits_content[`+suggestededits_content+`] option allows the model to generate the editor content, in which case the two do not need to be kept in sync.
3333

0 commit comments

Comments
 (0)