Forums

HTML code when Edit Post

  1. When I select "Edit post" over an existing post I don't get the formatted text, application shows me the HTML code of the post.

    Is it a bug? Is it a feature? Can I switch between HTML and Formatted Text modes?

  2. It's sort of a forced feature :) The HTML has to be loaded when you edit an existing post in order to preserve the formatting. You can still add more text with the visual editor styling or type HTML code in the content edit box.

  3. i would like to insert some Html coding from site like google friend connect
    how do you go about doing this with the widgets on the evolve theme on word press

  4. example of coding is

    <!-- Include the Google Friend Connect javascript library. -->
    <script type="text/javascript" src="http://www.google.com/friendconnect/script/friendconnect.js"></script>
    <!-- Define the div tag where the gadget will be inserted. -->
    <div id="div-7338589932685607942" style="width:276px;border:1px solid #cccccc;"></div>
    <!-- Render the gadget into a div. -->
    <script type="text/javascript">
    var skin = {};
    skin['FONT_FAMILY'] = 'sans-serif';
    skin['BORDER_COLOR'] = '#cccccc';
    skin['ENDCAP_BG_COLOR'] = '#e0ecff';
    skin['ENDCAP_TEXT_COLOR'] = '#333333';
    skin['ENDCAP_LINK_COLOR'] = '#0000cc';
    skin['ALTERNATE_BG_COLOR'] = '#ffffff';
    skin['CONTENT_BG_COLOR'] = '#ffffff';
    skin['CONTENT_LINK_COLOR'] = '#0000cc';
    skin['CONTENT_TEXT_COLOR'] = '#333333';
    skin['CONTENT_SECONDARY_LINK_COLOR'] = '#7777cc';
    skin['CONTENT_SECONDARY_TEXT_COLOR'] = '#666666';
    skin['CONTENT_HEADLINE_COLOR'] = '#333333';
    skin['NUMBER_ROWS'] = '4';
    google.friendconnect.container.setParentUrl('/test/' /* location of rpc_relay.html and canvas.html */);
    google.friendconnect.container.renderMembersGadget(
    { id: 'div-7338589932685607942',
    site: '03588525073618873708' },
    skin);
    </script>

Topic Closed

This topic has been closed to new replies.


About this Topic