Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

What editor does this community uses?

edited January 2012 in Vanilla 2.0 - 2.8

what wysiwyg editor am i seeing here?

Tagged:

Best Answer

Answers

  • sahotataransahotataran ✭✭✭
    Answer ✓

    Button bar

    There was an error rendering this rich post.

  • thanks for the amazingly quick reply

  • sahotataransahotataran ✭✭✭
    edited January 2012

    U r welcome :) but I didn't get badge for it :( lol

    There was an error rendering this rich post.

  • I'll give you a virtual badge if you post a link to the site :-)

  • the button bar is not a wysiwyg

    grep is your friend.

  • Bey said:
    I'll give you a virtual badge if you post a link to the site :-)

    my site? its running on my localhost

  • x00 said:
    the button bar is not a wysiwyg

    yeah, i guess its not

  • BeyBey
    edited January 2012

    I responded to x00 - i meant the site where you can find something about or download button bar (maybe i misunderstood what you meant)

    Don't worry, you will also get a virtual badge :-)

  • There was an error rendering this rich post.

  • just one more question, when i press the img button i get

    !()

    instead of

    ![]()

    thus images do not display any clue on how to fix this

  • PHiLHXC said:
    just one more question, when i press the img button i get
    !()

    you get this in here????? or your install??????

    There was an error rendering this rich post.

  • sahotataran said:

    PHiLHXC said:
    just one more question, when i press the img button i get
    !()

    you get this in here????? or your install??????

    in my install

  • sahotataransahotataran ✭✭✭
    edited January 2012

    are you sure everything else works perfect? link and quotes and other thinks?
    and

    $Configuration['Garden']['InputFormatter']                      = 'Markdown'; 

    in your config?

    just making sure everything else is working perfect

    There was an error rendering this rich post.

  • edited January 2012

    sahotataran said:
    are you sure everything else works perfect? link and quotes and other thinks?
    and

    $Configuration['Garden']['InputFormatter']                      = 'Markdown'; 

    in your config?

    just making sure everything else is working perfect

    everything else is working just fine

    [a link](http://example.com)
    

    just quoting

    **angry bold letters**
    
    _emphasis_
    
    -strike!-
    
    !(http://i.imgur.com/Pp46C.jpg)
    
    `code`
    

    that was my test.

  • sahotataransahotataran ✭✭✭
    edited January 2012

    look for

    PerformMarkdown: function(TextArea, Operation) {

    in your

    buttonbar/js/buttonbar.js

    and check for

    case 'image':
                   var thisOpts = $.extend(markdownOpts, {

    to be like

     case 'image':
                   var thisOpts = $.extend(markdownOpts, {
                      prefix:'',
                      opentag:'![](',
                      closetag:')',
                      opener:'',
                      closer:''
                   });
    

    There was an error rendering this rich post.

  • that did it, it was like this:

                case 'image':
                   var thisOpts = $.extend(markdownOpts, {
                      prefix:'!',
                      opentag:'(',
                      closetag:')',
                      opener:'',
                      closer:''
                   });
    

    maybe a bug in the js

  • Good. i am going to post it in the other thread you had started. you can accept answered there so that in future if anybody needs it will help them.

    There was an error rendering this rich post.

Sign In or Register to comment.