diff --git a/Minimal-example-that-showcases-PDF-rendering-with-text-selection-enabled.md b/Minimal-example-that-showcases-PDF-rendering-with-text-selection-enabled.md index bb3e6dd..9780300 100644 --- a/Minimal-example-that-showcases-PDF-rendering-with-text-selection-enabled.md +++ b/Minimal-example-that-showcases-PDF-rendering-with-text-selection-enabled.md @@ -399,7 +399,7 @@ window.onload = function () { page.getTextContent().then(function (textContent) { var textLayer = new TextLayerBuilder($textLayerDiv.get(0)); - textLayer.setTextContent(textContent); + textLayer.setTextContent({bidiTexts: textContent}); var renderContext = { canvasContext: context,