Skip to content

Commit 3ab64be

Browse files
author
Farzad Hayatbakhsh
committed
DOC-1928: Fix inline code styling inside admonitions
1 parent c5a2d4b commit 3ab64be

38 files changed

+173
-44
lines changed

modules/ROOT/partials/configuration/autocorrect_service_url.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ This option specifies the URL of the server-side `+ephox-spelling+` service.
55

66
For instructions on how to set up a Spellchecking server-side component, see: the xref:introduction-to-premium-selfhosted-services.adoc[server-side component installation guide].
77

8-
NOTE: `autocorrect_service_url` is *not* required when enabling this plugin via xref:editor-and-features.adoc[{cloudname}].
8+
[NOTE]
9+
====
10+
`autocorrect_service_url` is *not* required when enabling this plugin via xref:editor-and-features.adoc[{cloudname}].
11+
====
912

1013
*Type:* `+String+`
1114

modules/ROOT/partials/configuration/automatic_uploads.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33

44
Enable or disable automatic upload of images represented by data URLs or blob URIs. Such images get generated, for example, as a result of image manipulation through the xref:editimage.adoc[Image Editing] plugin, or after image is drag-n-dropped onto the editor from the desktop.
55

6-
NOTE: This option will do nothing if `+images_upload_url+` or `+images_upload_handler+` is not specified.
6+
[NOTE]
7+
====
8+
This option will do nothing if `+images_upload_url+` or `+images_upload_handler+` is not specified.
9+
====
710

811
*Type:* `+Boolean+`
912

modules/ROOT/partials/configuration/content_css.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ The `+content_css+` option loads the specified CSS files into the editable area.
77

88
*Default value:* `+['default']+` for classic mode, `+[]+` for inline mode
99

10-
NOTE: This option is intended for use with {productname}'s classic mode, as the editable area is sandboxed within an iframe. For inline mode editors, relevant CSS stylesheets should be loaded as part of the webpage {productname} is rendered in, not using the `+content_css+` option.
10+
[NOTE]
11+
====
12+
This option is intended for use with {productname}'s classic mode, as the editable area is sandboxed within an iframe. For inline mode editors, relevant CSS stylesheets should be loaded as part of the webpage {productname} is rendered in, not using the `+content_css+` option.
13+
====
1114

1215
include::partial$misc/shipped-content-css.adoc[]
1316

modules/ROOT/partials/configuration/content_style.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ This option allows custom CSS styles to be set as a string. The styles are injec
77

88
*Default value:* `+undefined+`
99

10-
NOTE: `+content_style+` styles are not saved within {productname}'s content. If they are needed for display purposes, ensure the styles are also included in the page the content will be displayed on.
10+
[NOTE]
11+
====
12+
`+content_style+` styles are not saved within {productname}'s content. If they are needed for display purposes, ensure the styles are also included in the page the content will be displayed on.
13+
====
1114

1215
=== Example: applying one CSS style using `+content_style+`
1316

modules/ROOT/partials/configuration/dialog_persistent.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ Setting the property to `+true+` does not over-ride normal mechanisms for closin
1111

1212
The property has a default value of `+false+`.
1313

14-
NOTE: If an inline dialog is open and focus is switched away from the {productname} editor entirely (for example, by the end-user switching focus to an available host-browser UI element), an open inline dialog will remain open regardless of the `+persistent+` property's value. This was the behavior prior to this property being available and continues to be the behavior.
14+
[NOTE]
15+
====
16+
If an inline dialog is open and focus is switched away from the {productname} editor entirely (for example, by the end-user switching focus to an available host-browser UI element), an open inline dialog will remain open regardless of the `+persistent+` property's value. This was the behavior prior to this property being available and continues to be the behavior.
17+
====
1518

1619
*Type:* `+Boolean+`
1720

modules/ROOT/partials/configuration/doctype.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33

44
Set the `+doctype+` for the editing area.
55

6-
WARNING: Changing the `+doctype+` can have different effects on different browsers and may introduce quirks. Use this feature only if you know what you are doing. For more information on doctypes, refer to https://www.w3.org/wiki/Doctypes_and_markup_styles[W3C - Doctypes and markup styles].
6+
[WARNING]
7+
====
8+
Changing the `+doctype+` can have different effects on different browsers and may introduce quirks. Use this feature only if you know what you are doing. For more information on doctypes, refer to https://www.w3.org/wiki/Doctypes_and_markup_styles[W3C - Doctypes and markup styles].
9+
====
710

811
*Type:* `+String+`
912

modules/ROOT/partials/configuration/editable_root.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ This option sets the initial editable state of a {productname} instance's root.
55

66
Setting `editable_root` to `+false+` sets the {productname} root to non-editable (in effect, read-only).
77

8-
NOTE: a {productname} root set as not-editable can contain child elements with the `contenteditable="true"` attribute set. And these child elements remain editable even when `editable_root: false` is set.
8+
[NOTE]
9+
====
10+
a {productname} root set as not-editable can contain child elements with the `contenteditable="true"` attribute set. And these child elements remain editable even when `editable_root: false` is set.
11+
====
912

1013
*Type:* `+Boolean+`
1114

modules/ROOT/partials/configuration/end_container_on_empty_block.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ This option specifies how the current container block element is split when the
1313

1414
*Default value:* `+'blockquote'+`
1515

16-
NOTE: Prior to {productname} 6.1, this option only accepted `+Boolean+` values.
16+
[NOTE]
17+
====
18+
Prior to {productname} 6.1, this option only accepted `+Boolean+` values.
19+
====
1720

1821
=== Example: using `+end_container_on_empty_block+`
1922

modules/ROOT/partials/configuration/extended_valid_elements.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ Also see xref:content-filtering.adoc#valid_elements[valid_elements] and xref:con
2525

2626
=== Using extended_valid_elements to allow script elements
2727

28-
WARNING: Allowing script elements (`+<script>+`) in {productname} exposes users to https://developer.mozilla.org/en-US/docs/Glossary/Cross-site_scripting[cross-site scripting (XSS) attacks].
28+
[WARNING]
29+
====
30+
Allowing script elements (`+<script>+`) in {productname} exposes users to https://developer.mozilla.org/en-US/docs/Glossary/Cross-site_scripting[cross-site scripting (XSS) attacks].
31+
====
2932

3033
To allow script elements in the editor, include the following in the {productname} configuration:
3134

modules/ROOT/partials/configuration/file_picker_callback.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ It should be noted, that we only provide a hook. It is up to you to implement sp
1313

1414
*Default value:* `+undefined+`
1515

16-
NOTE: The following example demonstrates how you can use `+file_picker_callback+` API, but doesn't pick any real files. Check the xref:interactive-example[Interactive example] for a more functional example.
16+
[NOTE]
17+
====
18+
The following example demonstrates how you can use `+file_picker_callback+` API, but doesn't pick any real files. Check the xref:interactive-example[Interactive example] for a more functional example.
19+
====
1720

1821
=== Example: using `+file_picker_callback+`
1922

0 commit comments

Comments
 (0)