This topic has 9 replies, 3 voices, and was last updated 6 years by Radu.

  • Author
  • #194794
     aimkbe
    Participant

    I am trying to copy and paste font awesome icon but it is not saving.

    #194799
     Kieran_SQ
    Moderator

    Hi,

    Sorry to hear you’re having issues. Can you let me know some more details such as is this via the menu, WP Bakery, within your content with HTML?

    Also, if required, please update this ticket in a private reply with admin credentials so I can take a look at the issue for you.

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #194805
     aimkbe
    Participant

    for example I want to add <i class="fab fa-500px"></i> in the text block, but when I save it, it just disappears.

    #194806
     Kieran_SQ
    Moderator

    Hi,

    To paste in HTML you need to switch from the ‘Visual’ tab of the editor to ‘Text’. This is in the top right of the editor when using the main content area or in the top right of modal window that opens when adding a text block (see screenshots).

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    Attachments:
    You must be logged in to view attached files.
    #194810
     aimkbe
    Participant

    yes i know. but when i do that and save, then update, the icon html disappears. Other html does not just the icons.

    #194811
     Kieran_SQ
    Moderator

    Hi,

    That’s strange behavior indeed – after testing locally and on a live site I can confirm the HTML is being stripped from the editor for this content. I will refer this ticket to one of our developers for review, they’ll be in touch with you as soon as they can, Monday to Friday, East European Time.

    Thank you for your patience,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #194998
     Radu
    Moderator

    Hi,

    Adding this code to functions.php will allow you to add any element to tinymce

    COPY CODE
    
    function override_mce_options($initArray) {
        $opts = '*[*]';
        $initArray['valid_elements'] = $opts;
        $initArray['extended_valid_elements'] = $opts;
        return $initArray;
    }
    add_filter('tiny_mce_before_init', 'override_mce_options');
    
    

    The function will have to be added in wp-content/themes/kleo-child/functions.php

    Let me know

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #195152
     aimkbe
    Participant

    awesome! thanks guys

    #195153
     aimkbe
    Participant

    i will try that next time… currently i am using a the “better font awesome” plugin

    #195160
     Radu
    Moderator

    Ok
    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 10 posts - 1 through 10 (of 10 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?