• Closed by: Marek
  • Closed on: 01.08.19, 12:55
  • Reason: Closed
  • Comment: Glad to help!

Ticket #14933 - Page Builder and TinyMCE

Hi, I’m trying to add style formats for text in TinyMCE. I added TinyMCE 4.x according to the documentation, however, the settings do not interact with Page Builder.

When I add some content and save. The page is empty. And PB displays some string of characters. Is it possible to add this format style in editor?

Some screenshots in attachments.

Comments

Justyna Szewczyk 25 Jun 2019, 13:50

ss

Justyna Szewczyk 25 Jun 2019, 16:30

Hi again, where to translate label “New” on homepage? I found only this:

{foreach from=$product.flags item=flag}

 <li class="{$flag.type}">{$flag.label}</li>

{/foreach}

Marek 25 Jun 2019, 19:39

Where can I find a layout what you show me at the screenshot to try to edit it?
New label translation issue is fixed, now it’s available in back office to change

Justyna Szewczyk 25 Jun 2019, 21:14

Just go to Page Builder and edit homepage (name of layout - laxcouture).

Edit some HTML widget.

Could you tell me when I should do fix with label? Because I’m working on two different sites. One of them is bought by my client. Or I have to ask about it from client account here?

Marek 26 Jun 2019, 12:50

I see the issue, but I’m not ready to fix it. I recommend you to back to default text editor version.
As for the Label translation, open the file /themes/alysum/templates/_partials/footer.tpl
add following line to the very end

<input type="hidden" value="{l s='New' d='Shop.Theme.Catalog'}"><!-- fix for "New" Label translation -->
Justyna Szewczyk 26 Jun 2019, 13:19

Hi Marek,

Thank you, label is working.

I removed config from TinyMCE. Now I have problem with PageBuilder - I can’t edit any widget. Error 500 in console. I did not do anything on the site today. Could you check this?

Justyna Szewczyk 26 Jun 2019, 14:32

I don’t know why, but my whole page has collapsed. I made it again. PageBuilder doesn’t work when I try edit “laxcouture” layout profile. Now I’m using profile “homepage”.

Marek 26 Jun 2019, 17:17

I think that new TinyMCE make some changes in the layout what broke it completely. Is it work fine now?

Justyna Szewczyk 26 Jun 2019, 17:39

Yes, layout profiles works fine.

Is it possible to check in the near future whether you can add your own format styles to TinyMCE?

Marek 27 Jun 2019, 12:54

But it works fine, as I can see https://take.ms/ifb1h

Justyna Szewczyk 27 Jun 2019, 16:11

Hi, Marek.

I didn’t mean normal format text, but custom: Check this: https://www.tiny.cloud/docs-4x/demo/format-custom/ and click “Formats” on demo.

Marek 28 Jun 2019, 11:41

Ok, I see. There is no such option. We will take a look and add it if it’s possible