8
0
Quellcode durchsuchen

Docs: Fixed code examples in API docs. [skip ci]

Anna Tomanek vor 7 Jahren
Ursprung
Commit
4476367400

+ 1 - 1
packages/ckeditor5-media-embed/src/converters.js

@@ -16,7 +16,7 @@ import ViewPosition from '@ckeditor/ckeditor5-engine/src/view/position';
  * Depending on the configuration, the view representation can be "semantic" (for the data pipeline):
  *
  *		<figure class="media">
- *			<oembed url="foo"></div>
+ *			<oembed url="foo"></oembed>
  *		</figure>
  *
  * or "non-semantic" (for the editing view pipeline):

+ 1 - 1
packages/ckeditor5-media-embed/src/utils.js

@@ -42,7 +42,7 @@ export function isMediaWidget( viewElement ) {
  * Creates a view element representing the media. Either "semantic" one for the data pipeline:
  *
  *		<figure class="media">
- *			<oembed url="foo"></div>
+ *			<oembed url="foo"></oembed>
  *		</figure>
  *
  * or "non-semantic" (for the editing view pipeline):