From 455cf101f45392b14d4bd39a43d485b893bd3129 Mon Sep 17 00:00:00 2001 From: pratiknikam Date: Mon, 21 Mar 2022 20:32:17 -0400 Subject: [PATCH] Allow embedded content to be allowfullscreen --- js/block.js | 2 +- lib/draftjs-to-html.js | 2 +- readme.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/block.js b/js/block.js index 7e127e4..0eab0f2 100644 --- a/js/block.js +++ b/js/block.js @@ -339,7 +339,7 @@ function getEntityMarkup( return `${entity.data.alt}`; } if (entity.type === 'EMBEDDED_LINK') { - return ``; + return ``; } return text; } diff --git a/lib/draftjs-to-html.js b/lib/draftjs-to-html.js index 55f02e7..12260d4 100644 --- a/lib/draftjs-to-html.js +++ b/lib/draftjs-to-html.js @@ -424,7 +424,7 @@ } if (entity.type === 'EMBEDDED_LINK') { - return ""); + return ""); } return text; diff --git a/readme.md b/readme.md index 06e7136..ff0849d 100644 --- a/readme.md +++ b/readme.md @@ -81,7 +81,7 @@ Following is the list of conversions it supports: 7. Converts atomic entity image to image tag using entity data src for image source, and if present alt, alignment, height, width also: `alt_text`. -8. Converts embedded links to iFrames, using width, height and src from entity data. `` +8. Converts embedded links to iFrames, using width, height and src from entity data. `` 9. Converts hashtags to anchor tag: `#tag`.