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.
Options

Taking a crack at Markitup for Vanilla 2

AdrianAdrian Wandering SpiritMontreal MVP
edited October 2010 in Vanilla 2.0 - 2.8
I have been trying to develop a plugin based on this
http://markitup.jaysalvat.com/examples/
I have hit a road block in trying to figure out what I am doing wrong. Has anyone succeeded in getting this to work or maybe is willing to collaborate in making this plugin come true?
Tagged:

Comments

  • Options
    edited October 2010
    This would be a great plugin. Could you explain what isn't working? I haven't ever tried to get that specific editor to work in Vanilla but I might be able to help you if you could explain what isn't working.
  • Options
    Oh, and you would probably want to use the HTML version, because last I checked (I could be wrong) Vanilla doesn't use bbcode, but if you have HTMLawed enabled html works great in Vanilla posts.
  • Options
    AdrianAdrian Wandering Spirit Montreal MVP
    Hey Matt,

    I have the HTML file in, but I just can't get the plugin to show the toolbar in the post creation or comment. I am sure I am just not calling it right. Probably not the best plugin to cut my teeth on, but I have a forum with users who need the explicit functionality of adding a link and adding an image via html code. That is all I really need. If you are interested in helping I can send you a pm of the files I have worked on. Maybe you can see where I have gone wrong?
  • Options
    edited October 2010
    Unfortunately, this is my first week(?) with Vanilla :-} (I'm a newbie here), and my PHP knowledge is limited but I can try to help you. If you PM me a link to the files or something I'll take a look at them. Also, you could try basing it off of/looking at @dkobia's TinyMCE plugin:
    http://vanillaforums.org/addon/589/tinymce-wysiwyg
  • Options
    AdrianAdrian Wandering Spirit Montreal MVP
    Cool Matt, I'll send you a note, I tried looking at http://vanillaforums.org/addon/589/tinymce-wysiwyg without success. Maybe you can see where I am going wrong :)
  • Options
    edited October 2010
    As I feared, I don't know what's going wrong. But, here are all of the plugins (that I know of for Vanilla 2) that are similar to what your trying to do:
    CLEditor WYSIWYG:
    http://vanillaforums.org/addon/599/cleditor-wysiwyg
    jQuery WYSIWYG:
    http://vanillaforums.org/addon/549/jquery-wysiwyg
    TinyMCE WYSIWYG:
    http://vanillaforums.org/addon/589/tinymce-wysiwyg
    Maybe if you try comparing your code to these, you can find a solution.
  • Options
    AdrianAdrian Wandering Spirit Montreal MVP
    @matt531320 I had tried that too, with no success. But I will try again. It's probably one small line of code I missed ;) Thanks for trying.
  • Options
    AdrianAdrian Wandering Spirit Montreal MVP
    edited October 2010
    Got it working! Some sweat and tears, but its up :)

    http://vanillaforums.org/addon/624/vanilla-markitup
  • Options
    Yay! What was wrong?
  • Options
    AdrianAdrian Wandering Spirit Montreal MVP
    i was not calling the javascript right... but now it works like a charm.. :) On to the next bits of my wish list :)
Sign In or Register to comment.