Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Flexform
  • #27521
    sgupt
    Member
    Post count: 3

    It looks like the visual editor in FlexForm is TinyMCE, but I cannot figure out a way to add buttons to it. I tried some plugins like TinyMCE Advanced, but they have no effect. Any ideas?

    #27581
    Cosmin – SUPPORT
    Member
    Post count: 3851

    TinyMCE is the rich text editor that WordPress comes with.

    The TinyMCE Advanced plugin will not work with our theme, as it tries to modify parts that our theme is already acting on, so they will conflict and nothing will work.

    There are tutorials on the net about adding editor buttons, but it’s not very easy.

    Regards,
    ————————————————————————————————————

    Cosmin – Support

    #27944
    NeutrinoTeam
    Member
    Post count: 5

    Hi,

    If you are still looking for a solution, I made a change and it works great for me, but no warranties here 🙂

    Go to:
    [theme folder]\includes\swift-framework\page-builder\builder\lib\shortcodes.php

    and change line 461. Add to the end of the array sent to wp_editor another value, called tinymce (as array) as follow:

    
    wp_editor($default_content, 'spb_tinymce_'.$param['param_name'], array('editor_class' => 'spb_param_value spb-textarea spb_tinymce '.$param['param_name'].' '.$param['type'], 'media_buttons' => true, 'tinymce' => array('theme_advanced_buttons1' => 'bold, italic, ul, pH, temp') ));
    

    This just added me some very essential buttons. You can add yours by using tinymce buttons. look for it in google.

    #28299
    Melanie – SUPPORT
    Member
    Post count: 11032

    Thanks mate! 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register