Jump to content

Grzegorz

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Grzegorz

  1. Hi @kongondo I'm unable to select a file form media manager and I get this error, this error only appears when I try to select file via assistedURL field. can you help with this one? PW-3.0.165 MediaManagerImageEditor.js:77 Uncaught TypeError: Cannot read properties of undefined (reading 'getSelection') at insertLinkMediaManager (MediaManagerImageEditor.js:77:29) at HTMLButtonElement.<anonymous> (MediaManagerImageEditor.js:135:4) at HTMLButtonElement.dispatch (JqueryCore.js?v=183:2:38053) at HTMLButtonElement.u (JqueryCore.js?v=183:2:33916)
  2. Hi, I need to upgrade my links and buttons so they can point not only to pages but also to any file inside media manager. Right now links can be added two ways, in the text field using ckeditor and in button field (is assisted url).CKEditor works for me well but I have a problem with assisted url field. When I select any media like pdf or image via assisted url it doesn't update the field with media url and console shows this error: MediaManagerImageEditor.js:77 Uncaught TypeError: Cannot read properties of undefined (reading 'getSelection') at insertLinkMediaManager (MediaManagerImageEditor.js:77:29) Does anyone who use Media Manager module with assisted url have the same issue?
  3. Hello everyone. I'm moving form CKEditor to TinyMCE and I'm struggling to replicate my setup for headings. Previously I had a field that would output text without any p tags which is nice for things like heading tags where all I need inside is pure text and sometimes a span, a, strong tag etc. That output was wrapped by H tag, I find it convenient as its one less thing for user to click also user doesn't have to remember which tag would be correct in this scenario and also user won't pick other h tag just because it looks a bit different... Right now only solution I have is to use php strip_tags() but I would like to do this using TinyMCE. Tiny documentation says removing p tag as the root block may break the editor so I'm thinking if editor requires to always have a block wrapper can p tag be swapped to span? Does anyone know how to do it without breaking the editor?
×
×
  • Create New...