浏览代码

Docs: MathType docs rewritten. [skip ci]

Anna Tomanek 6 年之前
父节点
当前提交
35209cf9aa

+ 0 - 4
docs/_snippets/features/math-type.html

@@ -1,4 +0,0 @@
-<div id="math-type-editor">
-	<h2>MathType demo</h2>
-	<p>Select the square root or the C symbol from a toolbar to insert the MathType equation.</p>
-</div>

+ 5 - 0
docs/_snippets/features/mathtype.html

@@ -0,0 +1,5 @@
+<div id="mathtype-editor">
+	<p>In elementary algebra, the <strong>quadratic formula</strong> is the solution of the quadratic equation.</p>
+
+	<p><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi><mo>=</mo><mfrac><mrow><mo>-</mo><mi>b</mi><mo>&#177;</mo><msqrt><msup><mi>b</mi><mn>2</mn></msup><mo>-</mo><mn>4</mn><mi>a</mi><mi>c</mi></msqrt></mrow><mrow><mn>2</mn><mi>a</mi></mrow></mfrac></math></p>
+</div>

+ 1 - 1
docs/_snippets/features/math-type.js

@@ -13,7 +13,7 @@ import Heading from '@ckeditor/ckeditor5-heading/src/heading';
 import MathType from '@wiris/mathtype-ckeditor5';
 
 ClassicEditor
-	.create( document.querySelector( '#math-type-editor' ), {
+	.create( document.querySelector( '#mathtype-editor' ), {
 		plugins: [
 			Essentials,
 			Bold,

文件差异内容过多而无法显示
+ 31 - 13
docs/features/mathtype.md