(2010-06-03, 11:20 AM)Jockl Wrote: As already mentioned I like this plugin very much. However, I like it a bit more comfortable. 
Therefore I made a modification to get an additional button in the editor where the username can be found via autocomplete() and will be added in the editor-window with according tags.
You can see how it looks like in the attached images. Attached please also find a rar-file with description and additional files which has to be used for this mod.
Hope you like it.
Hi there. How can I add it to my following code? (SCEditor WYSIWYG editor )
.sceditor-button-youtube div,.sceditor-button-link div,.sceditor-button-unlink div,.sceditor-button-underline div,.sceditor-button-time div,.sceditor-button-table div,.sceditor-button-superscript div,.sceditor-button-subscript div,.sceditor-button-strike div,.sceditor-button-source div,.sceditor-button-size div,.sceditor-button-rtl div,.sceditor-button-right div,.sceditor-button-removeformat div,.sceditor-button-quote div,.sceditor-button-print div,.sceditor-button-pastetext div,.sceditor-button-paste div,.sceditor-button-orderedlist div,.sceditor-button-ltr div,.sceditor-button-left div,.sceditor-button-justify div,.sceditor-button-italic div,.sceditor-button-image div,.sceditor-button-horizontalrule div,.sceditor-button-font div,.sceditor-button-emoticon div,.sceditor-button-email div,.sceditor-button-date div,.sceditor-button-cut div,.sceditor-button-copy div,.sceditor-button-color div,.sceditor-button-code div,.sceditor-button-center div,.sceditor-button-bulletlist div,.sceditor-button-bold div,.sceditor-button-grip{background-image:url(famfamfam.png);background-repeat:no-repeat}.sceditor-button-youtube div{background-position:0 0;width:16px;height:16px}.sceditor-button-link div{background-position:0 -16px;width:16px;height:16px}.sceditor-button-unlink div{background-position:0 -32px;width:16px;height:16px}.sceditor-button-underline div{background-position:0 -48px;width:16px;height:16px}.sceditor-button-time div{background-position:0 -64px;width:16px;height:16px}.sceditor-button-table div{background-position:0 -80px;width:16px;height:16px}.sceditor-button-superscript div{background-position:0 -96px;width:16px;height:16px}.sceditor-button-subscript div{background-position:0 -112px;width:16px;height:16px}.sceditor-button-strike div{background-position:0 -128px;width:16px;height:16px}.sceditor-button-source div{background-position:0 -144px;width:16px;height:16px}.sceditor-button-size div{background-position:0 -160px;width:16px;height:16px}.sceditor-button-rtl div{background-position:0 -176px;width:16px;height:16px}.sceditor-button-right div{background-position:0 -192px;width:16px;height:16px}.sceditor-button-removeformat div{background-position:0 -208px;width:16px;height:16px}.sceditor-button-quote div{background-position:0 -224px;width:16px;height:16px}.sceditor-button-print div{background-position:0 -240px;width:16px;height:16px}.sceditor-button-pastetext div{background-position:0 -256px;width:16px;height:16px}.sceditor-button-paste div{background-position:0 -272px;width:16px;height:16px}.sceditor-button-orderedlist div{background-position:0 -288px;width:16px;height:16px}.sceditor-button-ltr div{background-position:0 -304px;width:16px;height:16px}.sceditor-button-left div{background-position:0 -320px;width:16px;height:16px}.sceditor-button-justify div{background-position:0 -336px;width:16px;height:16px}.sceditor-button-italic div{background-position:0 -352px;width:16px;height:16px}.sceditor-button-image div{background-position:0 -368px;width:16px;height:16px}.sceditor-button-horizontalrule div{background-position:0 -384px;width:16px;height:16px}.sceditor-button-font div{background-position:0 -400px;width:16px;height:16px}.sceditor-button-emoticon div{background-position:0 -416px;width:16px;height:16px}.sceditor-button-email div{background-position:0 -432px;width:16px;height:16px}.sceditor-button-date div{background-position:0 -448px;width:16px;height:16px}.sceditor-button-cut div{background-position:0 -464px;width:16px;height:16px}.sceditor-button-copy div{background-position:0 -480px;width:16px;height:16px}.sceditor-button-color div{background-position:0 -496px;width:16px;height:16px}.sceditor-button-code div{background-position:0 -512px;width:16px;height:16px}.sceditor-button-center div{background-position:0 -528px;width:16px;height:16px}.sceditor-button-bulletlist div{background-position:0 -544px;width:16px;height:16px}.sceditor-button-bold div{background-position:0 -560px;width:16px;height:16px}.sceditor-button-grip{background-position:0 -576px;width:10px;height:10px}.sceditor-container{position:relative;border:1px solid #aaa;background:#777;-moz-border-radius:4px;-webkit-border-radius:4px;-opera-border-radius:4px;-khtml-border-radius:4px;border-radius:4px}.sceditor-container.resizing{overflow:hidden}.sceditor-container,.sceditor-container div,div.sceditor-dropdown,div.sceditor-dropdown div{padding:0;margin:0;z-index:3}.sceditor-container iframe,.sceditor-container textarea{border:0;outline:0;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13px;color:#000;padding:0;margin:5px;resize:none;background:#777}div.sceditor-resize-cover{position:absolute;top:0;left:0;background:#000;width:3000px;height:6000px;z-index:2;filter:alpha(opacity=30);opacity:.3}div.sceditor-grip{overflow:hidden;width:10px;height:10px;cursor:pointer;position:absolute;bottom:0;right:0;z-index:3;background-image:url(famfamfam.png);background-repeat:no-repeat;background-position:0 -576px;width:10px;height:10px}div.sceditor-dropdown{position:absolute;margin:22px 0 0 1px;border:1px solid #bbb;background:#fff;color:#222;font-size:13px;z-index:6}div.sceditor-dropdown form{margin:0}div.sceditor-dropdown label{display:block;font-weight:bold;font-size:.95em;margin:.65em 0 .15em}div.sceditor-dropdown .button{margin:.5em 0 0}.sceditor-pastetext textarea{border:1px solid #bbb;width:20em}div.sceditor-inserttable,div.sceditor-insertimage,div.sceditor-pastetext,div.sceditor-insertlink,div.sceditor-insertemail{padding:5px}.sceditor-insertemoticon img{cursor:pointer;margin:2px}.sceditor-more{border-top:1px solid #bbb;display:block;text-align:center;cursor:pointer;padding:2px 0}.sceditor-more:hover{background:#eee}.sceditor-fontsize-option,.sceditor-font-option{display:block;padding:4px 6px;cursor:pointer;font-size:14px;text-decoration:none;color:#222}.sceditor-fontsize-option:hover,.sceditor-font-option:hover{background:#eee}.sceditor-color-column{float:left}.sceditor-color-option{display:block;border:1px solid #000;height:10px;width:10px;overflow:hidden}.sceditor-color-option:hover{border:1px solid #333}div.sceditor-toolbar{overflow:hidden;zoom:1;padding:3px 5px;*padding:3px 5px 3px 5px;background:#f7f7f7;border-bottom:1px solid #aaa;line-height:0;-webkit-border-radius:3px 3px 0 0}div.sceditor-group{overflow:hidden;display:inline-block;zoom:1;*display:inline;background:#ddd;margin:1px 5px 1px 0;*margin:2px 5px 2px 0;padding:2px;-moz-border-radius:4px;-webkit-border-radius:4px;-opera-border-radius:4px;-khtml-border-radius:4px;border-radius:4px}.sceditor-button{float:left;cursor:pointer;padding:3px 4px}.sceditor-button.disabled div{filter:alpha(opacity=30);opacity:.3}.sceditor-button.disabled:hover{background:inherit;cursor:default}.sceditor-button div,.sceditor-button{display:block;width:16px;height:16px}.sceditor-button div{margin:0;padding:0;text-indent:-9999px}.sceditor-button:hover{background:#eee}.sceditor-container{border:1px solid #999}.sceditor-container textarea{font-family:Consolas,"Bitstream Vera Sans Mono","Andale Mono",Monaco,"DejaVu Sans Mono","Lucida Console",monospace;background:#2e3436;color:#000;margin:0;padding:5px}.sceditor-button{-moz-border-radius:10px;-webkit-border-radius:10px;-opera-border-radius:10px;-khtml-border-radius:10px;border-radius:10px}div.sceditor-group{margin:0;padding:0}.sceditor-button{padding:5px;margin-left:1px}.sceditor-button:hover{background:#292929;-webkit-box-shadow:inset 1px 1px 4px #aaa;-moz-box-shadow:inset 1px 1px 4px #aaa;box-shadow:inset 1px 1px 4px #aaa}div.sceditor-group{background:transparent}div.sceditor-toolbar{background:#ccc;background:-moz-linear-gradient(top,#ccc 0,#b2b2b2 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#ccc),color-stop(100%,#b2b2b2));background:-webkit-linear-gradient(top,#ccc 0,#b2b2b2 100%);background:-o-linear-gradient(top,#ccc 0,#b2b2b2 100%);background:-ms-linear-gradient(top,#ccc 0,#b2b2b2 100%);background:linear-gradient(top,#ccc 0,#b2b2b2 100%);filter:progid:dximagetransform.microsoft.gradient(startColorstr='#cccccc',endColorstr='#b2b2b2',GradientType=0)}