Procházet zdrojové kódy

Improved entries in contexts.json. Added a link to the configuration in the title feature guide.

Aleksander Nowodzinski před 6 roky
rodič
revize
d80ed1cec5

+ 2 - 1
packages/ckeditor5-heading/docs/features/title.md

@@ -23,7 +23,8 @@ The title plugin lets you move from the title to the body element using the <kbd
 
 The title plugin is integrated with the {@link features/editor-placeholder placeholder} configuration. If you define it, the placeholder text will be used for the body element.
 
-To change the title placeholder, use the `title.placeholder` configuration option. For instance:
+To change the title placeholder, use the {@link module:heading/title~TitleConfig#placeholder
+`title.placeholder`} configuration option. For instance:
 
 ```js
 ClassicEditor

+ 2 - 2
packages/ckeditor5-heading/lang/contexts.json

@@ -8,6 +8,6 @@
 	"Heading 4": "Dropdown option label for the heading level 4 format.",
 	"Heading 5": "Dropdown option label for the heading level 5 format.",
 	"Heading 6": "Dropdown option label for the heading level 6 format.",
-	"Type your title": "Default title field placeholder for the editor with title and body",
-	"Type or paste your content here.": "Default body field placeholder for the editor with title and body"
+	"Type your title": "A default value of the placeholder for the content title.",
+	"Type or paste your content here.": "A default value of the placeholder for the content body."
 }