Преглед изворни кода

Docs: Improved title feature guide.

Piotr Jasiun пре 6 година
родитељ
комит
90971c33da

+ 0 - 1
packages/ckeditor5-heading/docs/_snippets/features/title.html

@@ -1,6 +1,5 @@
 <div id="snippet-title">
 <div id="snippet-title">
 	<h1>Feasibility Study</h1>
 	<h1>Feasibility Study</h1>
-	<h2>Introduction</h2>
 	<p>
 	<p>
 		The Business Development team conducted the study as part of the evaluation process for expanding the Company's product portfolio for the mid-market sector. Using project costs and revenue forecasts as inputs, the team calculated key performance indicators that will enable the Company to make smart business decisions about the direction of current projects.
 		The Business Development team conducted the study as part of the evaluation process for expanding the Company's product portfolio for the mid-market sector. Using project costs and revenue forecasts as inputs, the team calculated key performance indicators that will enable the Company to make smart business decisions about the direction of current projects.
 	</p>
 	</p>

+ 3 - 3
packages/ckeditor5-heading/docs/_snippets/features/title.js

@@ -5,14 +5,14 @@
 
 
 /* globals console, window, document, setTimeout */
 /* globals console, window, document, setTimeout */
 
 
-import ClassicEditor from '@ckeditor/ckeditor5-build-classic/src/ckeditor';
+import InlineEditor from '@ckeditor/ckeditor5-build-inline/src/ckeditor';
 import Title from '@ckeditor/ckeditor5-heading/src/title';
 import Title from '@ckeditor/ckeditor5-heading/src/title';
 
 
 import { CS_CONFIG } from '@ckeditor/ckeditor5-cloud-services/tests/_utils/cloud-services-config';
 import { CS_CONFIG } from '@ckeditor/ckeditor5-cloud-services/tests/_utils/cloud-services-config';
 
 
-ClassicEditor.builtinPlugins.push( Title );
+InlineEditor.builtinPlugins.push( Title );
 
 
-ClassicEditor
+InlineEditor
 	.create( document.querySelector( '#snippet-title' ), {
 	.create( document.querySelector( '#snippet-title' ), {
 		cloudServices: CS_CONFIG
 		cloudServices: CS_CONFIG
 	} )
 	} )