Minorin - Standard (non-WYSIWYG) editor toolbar

Minorin - Standard (non-WYSIWYG) editor toolbar 1.0.0

No permission to download
Strangely I can't upload files with the new Minorin and XenForo 1.1.4, it gives error. With rich text editor works fine.
 
Does unfortunately not look like Minorin is compatible with xF 1.2 b5 atm. All the standard Icons are missing, except the one for color picking, which comes with minorin. Looks like they have deleted the related entries of the backgrounds in the css.
 
I got it fixed with a lot of code in the EXTRA.CSS
and I had to copy the 2 images from an earlier version of XenForo
Code:
/*Minorin*/
.xenForoSkin .mceIcon {background:url(styles/default/xenforo/editor/icons_save.png) no-repeat 20px 20px}
/* Theme */
.xenForoSkin span.mce_bold {background-position:0 0}
.xenForoSkin span.mce_italic {background-position:-60px 0}
.xenForoSkin span.mce_underline {background-position:-140px 0}
.xenForoSkin span.mce_strikethrough {background-position:-120px 0}
.xenForoSkin span.mce_bullist {background-position:-20px 0}
.xenForoSkin span.mce_numlist {background-position:-80px 0}
.xenForoSkin span.mce_justifyleft {background-position:-460px 0}
.xenForoSkin span.mce_justifyright {background-position:-480px 0}
.xenForoSkin span.mce_justifycenter {background-position:-420px 0}
.xenForoSkin span.mce_justifyfull {background-position:-440px 0}
.xenForoSkin span.mce_anchor {background-position:-200px 0}
<xen:if is="{$pageIsRtl}">
    /* Flip these around as they point left and right */
    .xenForoSkin span.mce_indent {background-position:-540px 0}
    .xenForoSkin span.mce_outdent {background-position:-400px 0}
<xen:else />
    .xenForoSkin span.mce_indent {background-position:-400px 0}
    .xenForoSkin span.mce_outdent {background-position:-540px 0}
</xen:if>
.xenForoSkin span.mce_link {background-position:-500px 0}
.xenForoSkin span.mce_unlink {background-position:-640px 0}
.xenForoSkin span.mce_sub {background-position:-600px 0}
.xenForoSkin span.mce_sup {background-position:-620px 0}
.xenForoSkin span.mce_removeformat {background-position:-580px 0}
.xenForoSkin span.mce_newdocument {background-position:-520px 0}
.xenForoSkin span.mce_image {background-position:-380px 0}
.xenForoSkin span.mce_help {background-position:-340px 0}
.xenForoSkin span.mce_code {background-position:-260px 0}
.xenForoSkin span.mce_hr {background-position:-360px 0}
.xenForoSkin span.mce_visualaid {background-position:-660px 0}
.xenForoSkin span.mce_charmap {background-position:-240px 0}
.xenForoSkin span.mce_paste {background-position:-560px 0}
.xenForoSkin span.mce_copy {background-position:-700px 0}
.xenForoSkin span.mce_cut {background-position:-680px 0}
.xenForoSkin span.mce_blockquote {background-position:-220px 0}
.xenForoSkin .mce_forecolor span.mceAction {background-position:-720px 0}
.xenForoSkin .mce_backcolor span.mceAction {background-position:-760px 0}
.xenForoSkin span.mce_forecolorpicker {background-position:-720px 0}
.xenForoSkin span.mce_backcolorpicker {background-position:-760px 0}
.xenForoSkin span.mceIcon {display:block; width:20px; height:20px}
/* Plugins */
.xenForoSkin span.mce_xenforo_media {background-position:-320px -20px}
.xenForoSkin span.mce_xenforo_quote {background-position:-220px 0}
.xenForoSkin span.mce_xenforo_code
{
    background: url('styles/default/xenforo/xenforo-ui-sprite-with-code.png') no-repeat -164px 0px;
}
The code is from the old editor.css.
 
Thanks for that @netrix, just re-installed it for our 1.2 and so far works like normal. I've attached the file if anyone needs it. Just make sure you install it to the right place / call it the same as what you call it in the code.
 

Attachments

  • icons_minorin.webp
    icons_minorin.webp
    13.6 KB · Views: 46
  • xenforo-ui-sprite-minorin.webp
    xenforo-ui-sprite-minorin.webp
    5.4 KB · Views: 44
I think my post with the CSS-Code for the EXTRA.CSS and the post below it should help you.
But if you want to use the image of the Download you must change the first line to this:
Code:
/*Minorin*/
.xenForoSkin .mceIcon {background:url(styles/default/xenforo/editor/icons_minorin.png) no-repeat 20px 20px}
 
this is great thank you. for videos like Facebook, Metacafe, Vimeo, i guess its just simple to add those? although, i guess a better way would be simply remove
Code:
[media=youtube][/media]
to force users to use the full editor toolbar for the media pop-up options.

how would we go adding our own custom bbcodes ie: mp4, mp3. im gessing this cant be done due to this mod using its own image icons etc?
or can we change to use the default images already used in full editor toolbar?
thanks.
 
this is great thank you. for videos like Facebook, Metacafe, Vimeo, i guess its just simple to add those? although, i guess a better way would be simply remove
Code:
[media=youtube][/media]
to force users to use the full editor toolbar for the media pop-up options.

how would we go adding our own custom bbcodes ie: mp4, mp3. im gessing this cant be done due to this mod using its own image icons etc?
thanks.

If you edit the bbcodes in Options > Minorin and the icon CSS in dark_minorin.css, it's pretty straight forward to add more buttons
 
sorry, i was editing my post above when you replied. thanks, will take a look.
this can be done?
or can we change to use the default images already used in full editor toolbar?
cheers.
 
The buttons don't have tooltips?
Well, anyway the minorin of taigachat also don't have tooltips.
 
Top Bottom