MyBB Community Forums

Full Version: Quick Advanced Editor Plus 2.2.6 (with Quick quote and autosave)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
which templates are affected by this? i made a few and now i cannot remember them LOL
is quick quote supposed to quote what you highlight? instead of the post?

if so where is the button for it supposed to be?

edit: I am getting double quoting, can it be fixed please

Admin
Second Post
Admin
Second Post
			<script type="text/javascript" src="{$mybb->asset_url}/jscripts/automedia/rangyinputs_jquery.min.js?ver=3003"></script>
			<script type="text/javascript">
			<!--
			jQuery(document).ready(function($)
			{
				$("#amoff").on("click", function() {
					if(!MyBBEditor) {
						$("#message, #signature").surroundSelectedText("[amoff]", "[/amoff]");
					} else {
						MyBBEditor.insert('[amoff]', '[/amoff]');
					}
				});
				$("#ampl").on("click", function() {
					if(!MyBBEditor) {
						$("#message, #signature").surroundSelectedText("[ampl]", "[/ampl]");
					} else {
						MyBBEditor.insert('[ampl]', '[/ampl]');
					}
				});
			});
			-->
			</script>
		


I am not getting the automedia code to work with this, is there a change to the above code to get it to work?
(2015-10-03, 07:57 AM)expat Wrote: [ -> ]
			<script type="text/javascript" src="{$mybb->asset_url}/jscripts/automedia/rangyinputs_jquery.min.js?ver=3003"></script>
			<script type="text/javascript">
			<!--
			jQuery(document).ready(function($)
			{
				$("#amoff").on("click", function() {
					if(!MyBBEditor) {
						$("#message, #signature").surroundSelectedText("[amoff]", "[/amoff]");
					} else {
						MyBBEditor.insert('[amoff]', '[/amoff]');
					}
				});
				$("#ampl").on("click", function() {
					if(!MyBBEditor) {
						$("#message, #signature").surroundSelectedText("[ampl]", "[/ampl]");
					} else {
						MyBBEditor.insert('[ampl]', '[/ampl]');
					}
				});
			});
			-->
			</script>
		


I am not getting the automedia code to work with this, is there a change to the above code to get it to work?

http://community.mybb.com/thread-160306-...pid1175810
why is it the codebutquick and codebuttons are different?

Shouldnt they be the same code?
(2015-11-08, 05:04 AM)expat Wrote: [ -> ]why is it the codebutquick and codebuttons are different?

Shouldnt they be the same code?

no.
codebuttons used in new thread, new reply etc... (plugin not made any change and not related with this plugin, so if you have problem with editor of new thread etc... so this isn't related or fault of this plugin)
codebutquick used in quick reply and quick edit (added by this plugin).
the insert my buttons 3 keep inserting new stuff if you activate and deactivate it, into the codebuttons

but i just wondered why there would be difference between the codebuttons and codebutquick , apart from the quick quote

i did a quick text compare, and they seem different

does this have the problem of jumping down to the quick reply like the standard version? I added the change like in the other thread and i lost some functions stopped working

try:
in codebutquick template:
find:
$(document).ready(function() {
replace:
($.fn.on || $.fn.live).call($(document), 'focus', '#message', function () {

find:
{$sourcemode}
add after:
MyBBEditor.focus();


BUT now i have lost my custom function

	  		vUni.initTyper($('#quickedit_'+pid).sceditor('instance').getBody()[0]);
(2015-11-08, 05:28 AM)expat Wrote: [ -> ]the insert my buttons 3 keep inserting new stuff if you activate and deactivate it, into the codebuttons

but i just wondered why there would be difference between the codebuttons and codebutquick , apart from the quick quote

i did a quick text compare, and they seem different

does this have the problem of jumping down to the quick reply like the standard version? I added the change like in the other thread and i lost some functions stopped working

try:
in codebutquick template:
find:
$(document).ready(function() {
replace:
($.fn.on || $.fn.live).call($(document), 'focus', '#message', function () {

find:
{$sourcemode}
add after:
MyBBEditor.focus();


BUT now i have lost my custom function

	  		vUni.initTyper($('#quickedit_'+pid).sceditor('instance').getBody()[0]);

you really asking thing in correct thread?
i really i don't understand antything.
what are you asking? You asking about My Insert Buttons 3.0.0? so this thread not correct thread to ask.
If is about codebuttons template, this plugin not has any relation. so this thread not correct thread too.
LOL they are all sorta linked together, some add functions (my Buttons), others remove functions (simple edit)

now that i added the focus to the quickedit RTE, i cannot inject other JS into the textarea with .focus() call

Does anyone have any ideas?

            vUni.initTyper($('#quickedit_'+pid).sceditor('instance').getBody()[0]);
was able to inject with that previously
(2015-11-08, 09:03 AM)expat Wrote: [ -> ]LOL they are all sorta linked together, some add functions (my Buttons), others remove functions (simple edit)

now that i added the focus to the quickedit RTE, i cannot inject other JS into the textarea with .focus() call

Does anyone have any ideas?

            vUni.initTyper($('#quickedit_'+pid).sceditor('instance').getBody()[0]);
was able to inject with that previously

plz.
not mix things.
this thread for Quick Advanced Editor Plus plugin.
what you asking not has any relation with plugin (what relation with function that not make part of this plugin?). Plz stop offtopic. I refuse this type of support, if you customized so all customized part is entirely your responsibility.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18