Page 1 of 1

Solution for making fonts work with Summernote and CMS

Posted: Mon Aug 22, 2022 5:08 pm
by Bluesman
Hi Pablo. Can you please take a look at the last comment with solution from "mixextra". Wonder if you can have a better (simpler) solution for making the fonts that you add to the menu work? See:
https://www.wysiwygwebbuilder.com/forum ... 86#p476686
Gracias

Re: Solution for making fonts work with Summernote and CMS

Posted: Mon Aug 22, 2022 5:13 pm
by Pablo
Sorry, I do not have an easier solution.

Re: Solution for making fonts work with Summernote and CMS

Posted: Mon Aug 22, 2022 6:13 pm
by Bluesman
Bluesman wrote: Mon Aug 22, 2022 5:08 pm Hi Pablo. Can you please take a look at the last comment with solution from "mixextra". Wonder if you can have a better (simpler) solution for making the fonts that you add to the menu work? See:
https://www.wysiwygwebbuilder.com/forum ... 86#p476686
Gracias
Ok... tnx for answering Pablo. Will see were I take it from here. Seams a little hard for a "non-coder" like me :roll: But I will give it a try.

Re: Solution for making fonts work with Summernote and CMS

Posted: Thu Aug 25, 2022 5:04 pm
by mixextra
Hello Pablo greetings,

please try to see if the given code is not in conflict with the php code of the wwb elements of cms tools (CMS Admin, and EditableContentAdmin and others), whether it is possible to include this code in a future update:

Code: Select all

$content = str_replace('"', "'", $content);
directly into the php code of cms tools elements
or
as an option in the properties inspector as an optional editing field in case it is necessary in the future for another EDITOR to modify the output stored in the database?

With the Summernote editor, this is an invalid character in the output """
With this output, the use of the Summernote editor is very limited.
We thank you.

Re: Solution for making fonts work with Summernote and CMS

Posted: Fri Aug 26, 2022 5:58 am
by Pablo
Thanks, I will add this in the next update.

Re: Solution for making fonts work with Summernote and CMS

Posted: Fri Aug 26, 2022 2:52 pm
by Bluesman
Pablo wrote: Fri Aug 26, 2022 5:58 am Thanks, I will add this in the next update.
Thanks Pablo, will test this amediately :D Does it mean that I just have to update wwb and then publish all on the page I have the cms admin tool?

Ok tested!!! Yes works as a charm :D

Re: Solution for making fonts work with Summernote and CMS

Posted: Fri Aug 26, 2022 2:53 pm
by Bluesman
mixextra wrote: Thu Aug 25, 2022 5:04 pm Hello Pablo greetings,

please try to see if the given code is not in conflict with the php code of the wwb elements of cms tools (CMS Admin, and EditableContentAdmin and others), whether it is possible to include this code in a future update:

Code: Select all

$content = str_replace('"', "'", $content);
directly into the php code of cms tools elements
or
as an option in the properties inspector as an optional editing field in case it is necessary in the future for another EDITOR to modify the output stored in the database?

With the Summernote editor, this is an invalid character in the output """
With this output, the use of the Summernote editor is very limited.
We thank you.
Pablo did it tnx to you... Gracias amigo!