Support » Plugin: Raw HTML » (bug?) html font code still getting trans-coded to using css styles

  • When switching from Text to Visual back to Text this will get trans-coded from

    <!--raw--><center><font color="#BF0000" size="3"><strong>some text</strong></font></center><!--/raw-->

    to
    <center><span style="color: #bf0000; font-size: medium;"><strong>some text</strong></span></center>

    (Version 2.0-beta15)

    • This topic was modified 1 year, 2 months ago by nc_nc. Reason: formatting
    • This topic was modified 1 year, 2 months ago by nc_nc. Reason: title
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Janis Elsts

    (@whiteshadow)

    Thank you for the report. If I may ask, where is that version number from? This plugin doesn’t have a version like that.

    Thread Starter nc_nc

    (@nc_nc)

    sorry, was looking at the wrong line. It is Version 1.6.1

    Plugin Author Janis Elsts

    (@whiteshadow)

    It sounds like you might have the Pro version of the plugin. If that’s the case, please contact me using this contact form instead of posting here. It’s against wordpress.org rules to use these forums to provide support for paid plugins.

    Also, please let me know which WP version and Classic Editor version (if applicable) you’re using.

    Thread Starter nc_nc

    (@nc_nc)

    It is not your pro version I have.

    I have a multi domain site. Could this be the problem?

    https://stackoverflow.com/questions/25702061/enable-cors-on-json-api-wordpress

    Plugin Author Janis Elsts

    (@whiteshadow)

    In that case, what you’re seeing is actually a limitation of the free version. It doesn’t protect code from being changed by the visual editor. That’s why the plugin documentation says “to avoid problems, only edit posts that contain your custom code in Text/HTML mode”.

    I don’t think CORS is involved in this case. Switching from Text to Visual and back can cause code changes on any site, even on local installs.

    Thread Starter nc_nc

    (@nc_nc)

    That would render WP useless…

    Plugin Author Janis Elsts

    (@whiteshadow)

    Well, the Visual editor does have its issues. If you have to use it, maybe you could get the Pro version, or get one of the plugins that let you create custom shortcodes that output your HTML/JS/other content (for example, Shortcoder).

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘(bug?) html font code still getting trans-coded to using css styles’ is closed to new replies.