1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Minorin - Standard editor toolbar

Discussion in 'Add-on Releases [Archive]' started by Luke F, Feb 6, 2011.

Thread Status:
Not open for further replies.
  1. Luke F

    Luke F Well-Known Member

    [​IMG]

    Using code developed for TaigaChat, this addon makes the standard (non-WYSIWYG) editor more practical by adding a toolbar for inserting BBCode and smilies.

    The same customisable system from TaigaChat is used, allowing you to add custom BBCode buttons as you see fit.


    Installation:

    1. Upload contents of upload folder to forum root
    2. Install addon_Minorin.xml file

    Updating: (0.0.x to 0.0.4)


    1. Upload the contents of upload folder to your forum root, overwriting all files.
    2. Perform upgrade process with the new addon xml file.
    3. Remove template include from editor template (<xen:include template="dark_minorin_toolbar" />)
    Updating: (0.0.4 to 0.0.5)
    1. Upload the contents of upload folder to your forum root, overwriting all files.
    2. Perform upgrade process with the new addon xml file.
    Changelog:

    0.0.5 (12/12/2011):
    • Optimised smilie loading (now uses cache)
    • Fixed smilie ordering
    0.0.4 (11/12/2011):
    • Fixed compatibility with XenForo 1.1 (css sprite smilies etc.)
    • Fixed double toolbar on quick edit
    • Added template hook to replace the template edit previously required
    0.0.3 (12/02/2011):
    • Fixed compatibility with all other instances of the editor, including edit signature and other addons.
    0.0.2 (06/02/2011):
    • Fixed inline editor support.
    • Fixed full editor support with WYSIWYG disabled.
    • Semi-fixed inline conversation editor support with WYSIWYG disabled (need to focus textarea before toolbar appears).
    0.0.1 (06/02/2011): First public release



    Donations go here. :)
     

    Attached Files:

    shawn, Jarod, ibenick and 32 others like this.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Genius!

    Does this still allow you to toggle between the two editors?
    I don't see the Use Rich Text Editor link in your screenshot.
     
  3. Kier

    Kier XenForo Developer Staff Member

    Lovely job :)
     
    Darkimmortal likes this.
  4. Luke F

    Luke F Well-Known Member

    Yeah I had the WYSIWYG editor disabled via the user preference when I took that screenshot ;)
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    I guess this is the 3rd add-on I'll be installing then :)
     
    Darkimmortal likes this.
  6. Luke F

    Luke F Well-Known Member

    Added a better screenshot showing the smilies dropdown and WYSIWYG link :)
     
    Brogan likes this.
  7. Brogan

    Brogan XenForo Moderator Staff Member

    Already installed on my test site.
    Absolutely superb addition to the plain text editor, which is my preference when composing posts.
     
    Darkimmortal likes this.
  8. Luke F

    Luke F Well-Known Member

    Also just tested on the Android browser - bit fiddly but fully functional :)
     
  9. Wuebit

    Wuebit Well-Known Member

    Very nice mate !

    Let me pick the next mods anime image! lolol
     
    Darkimmortal likes this.
  10. karev

    karev Active Member

    good job but we need a little tutorial discribing how to add a button to the wysiwyg editor
     
  11. Brogan

    Brogan XenForo Moderator Staff Member

    Yay!

    Finally got a way of adding my custom BB Code to the editor.
     
    CyberAP likes this.
  12. M@rc

    M@rc Well-Known Member

    Nicely done. Downloading and installing now, [​IMG]
     
  13. Brogan

    Brogan XenForo Moderator Staff Member

    Look in Options -> Minorin and you can see the default ones there and how they're created.

    To add your own you can check in editor_ui.css for the icon class.

    For example, I added this for my spoiler code which was added using KK's BBCM.
    Code:
    <span class='mceIcon mce_help'></span>:[spoiler=][/spoiler]
     
    laztrix, CyberAP and karev like this.
  14. Wuebit

    Wuebit Well-Known Member

    Ok silly question time :/ How do i use this one i still see the old one (like i see on here)
     
  15. Brogan

    Brogan XenForo Moderator Staff Member

    Click on the [​IMG] in the upper right hand corner of the editor toolbar.
     
  16. M@rc

    M@rc Well-Known Member

    Use the standard editor. Click the "A" button when using the WYSIWYG editor.
     
    Vodkaholic likes this.
  17. Wuebit

    Wuebit Well-Known Member

    Sorry i mean by default so everyone see this one.
     
  18. Vincent

    Vincent Well-Known Member

    There is no option for that (yet).
    Maybe because Kier likes this add-on so much he could add it in RC2 :D
     
  19. Wuebit

    Wuebit Well-Known Member

    Ah right cheers
     
  20. Luke F

    Luke F Well-Known Member

    0.0.2 released, see OP for changelog
     
Thread Status:
Not open for further replies.

Share This Page