Skip Navigation

[Closed] Custom MCE-Button in an Repeatable Fieldgroup Field with Visual editor

This support ticket is created 3 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Shane 3 years, 9 months ago.

Assisted by: Shane.

Author
Posts
#1717241
Bildschirmfoto 2020-07-24 um 16.10.49.png
Bildschirmfoto 2020-07-24 um 16.10.56.png

Hi there,

I tried to add CSS-class-format-buttons for the Visual Editor. It works fine with the Default Editor, but I need them in a Custom Field "WYSIWYG", which is in an repeatable field group.

Can You please help me with this issue?

Thanks, Alex

#1717395

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Alexander,

Thank you for getting in touch.

I suspected that this is done with some form of custom code, which would be something that is out of our support scope.

Our RFG WYSIWYG fields hook directly into the default wordpress WYSIWYG editor. Is your code hooking into the editor ?

Thanks,
Shane

#1717405

Yes, it directly addresses the WordPress Editor:
https://codex.wordpress.org/TinyMCE_Custom_Styles
https://developer.wordpress.org/reference/functions/add_editor_style/
and it works with the default editor but not with the one of the customfield

#1722155

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Alexander,

I must apologize for the delay in response for this.

Can you provide me with the code sample that you are using to edit the editor ?

This includes the PHP code and the CSS code so that I can test it out here.

Thanks,
Shane

The topic ‘[Closed] Custom MCE-Button in an Repeatable Fieldgroup Field with Visual editor’ is closed to new replies.