• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Dashicon code disappars when switching from Text editor to Visual editor

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Dashicon code disappars when switching from Text editor to Visual editor

This topic is: not resolved
  • This topic has 3 replies, 3 voices, and was last updated 6 years, 11 months ago by Ghallab.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • July 25, 2018 at 3:29 am #221968
    Ghallab
    Member

    Hi,
    after i finish post content which included "Dashicon" , once i switch from editor to Visual all icon disappear ? any idea
    Regards,
    Ghallab

    July 25, 2018 at 4:14 am #221969
    Victor Font
    Moderator

    This is the way WordPress works. When you switch from the text to the visual tab, the editor reformats HTML code to the way it thinks should be written. It removes code it doesn't think should be there and writes the code in its own way. It's an annoyance that has been there forever.

    The easiest workaround in to not switch to the visual editor once you've started editing the HTML.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    July 25, 2018 at 12:16 pm #221991
    kemahbreeze
    Member

    This just happened to me, too, Ghallab. I spent a couple of frustrating hours trying to make place a Font Awesome icon on a page. My fix, as Victor says, is to not switch to the visual editor.

    But if your editing default is the visual editor, as soon as you open the page for editing, the visual editor will pop up and delete the code. So you need to change the option in your User Profile.

    Users > Your Profile > Visual Editor - Select "Disable the visual editor when writing"

    Cheers,
    Terry

    August 1, 2018 at 6:51 am #222148
    Ghallab
    Member

    Thank you for Your support

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble