Unable to select an image in the Text & Images module of Web Presence Builder

Created:

2017-06-16 10:26:41 UTC

Modified:

2017-08-16 17:03:43 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to select an image in the Text & Images module of Web Presence Builder

Applicable to:

  • Plesk for Linux

Symptoms

Unable to select an image in the "Text & Images" module of Web Presence Builder in newer browsers.

Cause

Web Presence Builder bug PPB-4519 . The bug will be fixed in one of the next product updates.

Resolution

As a workaround, TinyMCE code can be fixed manually:

1. Create a backup of files which have to be modified:

# cp /usr/local/sb/htdocs/js/externals/tinymce/tiny_mce_src.js /usr/local/sb/htdocs/js/externals/tinymce/tiny_mce_src.js.bak
# cp /usr/local/sb/htdocs/js/externals/tinymce/tiny_mce.js /usr/local/sb/htdocs/js/externals/tinymce/tiny_mce.js.bak

2. Replace the values as follows:

# sed -i 's/setBaseAndExtent(e, 0, e, 1)/setBaseAndExtent(e, 0, e, 0)/' /usr/local/sb/htdocs/js/externals/tinymce/tiny_mce_src.js
# sed -i 's/setBaseAndExtent(N,0,N,1)/setBaseAndExtent(N,0,N,0)/' /usr/local/sb/htdocs/js/externals/tinymce/tiny_mce.js
Have more questions? Submit a request
Please sign in to leave a comment.