# Unitegallery javascript breaks Pingrow's text block editor

**URL:** <https://forum.pinegrow.com/t/unitegallery-javascript-breaks-pingrows-text-block-editor/2951>\
**Category:** Bug Reports\
**Created:** [April 26, 2019, 2:54am UTC](https://forum.pinegrow.com/t/unitegallery-javascript-breaks-pingrows-text-block-editor/2951 "2019-04-26T02:54:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Printninja](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/printninja/32/1181_2.png) [@Printninja](https://forum.pinegrow.com/u/Printninja)\
**Post date:** [April 26, 2019, 2:54am UTC](https://forum.pinegrow.com/t/unitegallery-javascript-breaks-pingrows-text-block-editor/2951/1 "2019-04-26T02:54:57Z")

</div>

When the unitegallery.js script ([https://unitegallery.net/](https://unitegallery.net/)) is present on a page, Pinegrow’s text editor stops functioning normally. The left and right arrow keys which allow you to move through the text character-by-character stop working, and cause the cursor to jump to the beginning or end of the text block. Disabling javascript or removing the unitegallery.js script from the page allows PG to function normally.

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [April 26, 2019, 11:00am UTC](https://forum.pinegrow.com/t/unitegallery-javascript-breaks-pingrows-text-block-editor/2951/2 "2019-04-26T11:00:04Z")

</div>

It must be the gallery capturing the keystrokes. Nothing we can do about it. Disable JS when editing the text.
