Code button in visual editor with syntax option

  • Unknown's avatar

    I truly love wordpress.com and the team that made it all possible.
    I am making a game development blog but I have a hard time pasting my code.

    I know there’s a short code available but it takes way too much time to type them out. Especially because I break down my codes when I’m explaining it.

    Why won’t wordpress implement a shortcode button in its visual editor? I don’t see any harm in doing so.
    [code language="javascript"] [/code]
    works better than
    <code> </code>
    or may I suggest adding “Show advance buttons” in “Screen options” tab?

    Please answer me. I love to use my blog but I get discourage to write snippets because it becomes a tedious task to manually put short codes.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    All blogger posted JavaScript is stripped for security reasons as this is a multiuser blogging platform and one instance of bad code could bring down many blogs. http://en.support.wordpress.com/code/#javascript In case you are unclear about the threat JavaScript presents on a multiuser platform like this one read this http://onecoolsitebloggingtips.com/2007/10/08/why-javascript-is-a-security-risk/

  • Unknown's avatar

    I don`t comprehend why you find typing shortcodes to be tedious. I find it to be very easy and quick to use them http://en.support.wordpress.com/shortcodes/

  • Unknown's avatar

    Like I’ve said, I break down the codes into tiny parts and explain them, typing a lot of [code language="javascript"] [/code] for every code I write is takes much time. I could be lazy like using <code> </code> but [code language="javascript"] [/code] a lot better and looks a lot better. Have you tried it? I suggest you should.
    Also I’m not trying to put javascript to run on my blog, but I post source codes. There’s a difference.

  • Unknown's avatar

    Shortcodes are great, but I really do want the wordpress team to implement a button for the sourcecode short code, if not I suggest implement an advance button option in the screen option. I understand they are making the visual editor to be idiot friendly but what about advance users?

  • The topic ‘Code button in visual editor with syntax option’ is closed to new replies.