Page 19 of 33

Re: [RC3] eMosbat's TinyMCE Integration (WYSIWYG editor)

Posted: Thu Jan 17, 2013 2:48 pm
by mladiucitelj
Hi!

Is it possible to resize editor when posting a new post?

Re: [RC3] eMosbat's TinyMCE Integration (WYSIWYG editor)

Posted: Thu Jan 17, 2013 3:09 pm
by emosbat
Alien_Time wrote:Nice mod. I am testing this mod in my locahost and I have couple of questions:

1) How do you integrate this mod to the 'Gallery' bbcode? I have installed the phpbb Gallery MOD and this mod adds the following line of code to the posting_buttons.html

Code: Select all

    <!-- IF S_GALLERY_POPUP -->
		<input type="button" class="button2" name="gallery_button" value="{L_GALLERY_POPUP}" onclick="popup('{U_GALLERY_POPUP}', 800, 600);" title="{L_GALLERY_POPUP_HELPLINE}" />
	<!-- ENDIF -->
But the above bbcode does not show in this editor buttons. How can show this added 'gallery' bbcode?

2) Does this mod reduce the posting page's loading speed?
1. no normal editor's MOD works for TinyMCE editor because it is completely different in implemention and use different way for plugins. mod writer should rewrite it for tinymce.
2. of course it will need more data to load but usually load faster when files cached in browser.

Re: [RC3] eMosbat's TinyMCE Integration (WYSIWYG editor)

Posted: Thu Jan 17, 2013 3:11 pm
by emosbat
mladiucitelj wrote:Hi!

Is it possible to resize editor when posting a new post?
should add this code to editor:

http://www.tinymce.com/wiki.php/Configu ... d_resizing

Re: [RC3] eMosbat's TinyMCE Integration (WYSIWYG editor)

Posted: Thu Jan 17, 2013 3:14 pm
by mladiucitelj
emosbat wrote:
mladiucitelj wrote:Hi!

Is it possible to resize editor when posting a new post?
should add this code to editor:

http://www.tinymce.com/wiki.php/Configu ... d_resizing
Thanks, but in which file?

Re: [RC3] eMosbat's TinyMCE Integration (WYSIWYG editor)

Posted: Thu Jan 17, 2013 3:19 pm
by emosbat
mladiucitelj wrote:
emosbat wrote:
mladiucitelj wrote:Hi!

Is it possible to resize editor when posting a new post?
should add this code to editor:

http://www.tinymce.com/wiki.php/Configu ... d_resizing
Thanks, but in which file?
emotinymce_editor.html
find:

Code: Select all

editor = tinyMCE.init({
replace with:

Code: Select all

editor = tinyMCE.init({
theme_advanced_resizing : true,

Re: [RC3] eMosbat's TinyMCE Integration (WYSIWYG editor)

Posted: Thu Jan 17, 2013 3:30 pm
by mladiucitelj
Thank you very much!

Re: [RC3] eMosbat's TinyMCE Integration (WYSIWYG editor)

Posted: Thu Jan 17, 2013 3:43 pm
by Alien_Time
emosbat wrote:1. no normal editor's MOD works for TinyMCE editor because it is completely different in implemention and use different way for plugins. mod writer should rewrite it for tinymce.
Thanks emosbat... Would you consider rewriting the plug-in for this phpbb gallery mod by any chance? This gallery and the arcade mods are quite popular among phpbb communities and I think it will be awesome to have this integration with your MOD.

Re: [RC3] eMosbat's TinyMCE Integration (WYSIWYG editor)

Posted: Thu Jan 17, 2013 4:01 pm
by idontwantausername
emosbat wrote:use this javascript code:

Code: Select all

 $(document).ready(function() {
         hide_qr(true);
 });
Thanks, where do i place this?

Re: [RC3] eMosbat's TinyMCE Integration (WYSIWYG editor)

Posted: Thu Jan 17, 2013 4:14 pm
by emosbat
mladiucitelj wrote:Thank you very much!
you are welcome :)
Alien_Time wrote:
emosbat wrote:1. no normal editor's MOD works for TinyMCE editor because it is completely different in implemention and use different way for plugins. mod writer should rewrite it for tinymce.
Thanks emosbat... Would you consider rewriting the plug-in for this phpbb gallery mod by any chance? This gallery and the arcade mods are quite popular among phpbb communities and I think it will be awesome to have this integration with your MOD.
unfortunately I have no time to do this and also not familiar with that mod.
idontwantausername wrote:
emosbat wrote:use this javascript code:

Code: Select all

 $(document).ready(function() {
         hide_qr(true);
 });
Thanks, where do i place this?
somewhere in viewtopic_body.html between <script></script> tag :mrgreen:

Re: [RC3] eMosbat's TinyMCE Integration (WYSIWYG editor)

Posted: Thu Jan 17, 2013 5:27 pm
by Galandas
nice mod, thanks

Re: [RC3] eMosbat's TinyMCE Integration (WYSIWYG editor)

Posted: Fri Jan 18, 2013 1:57 am
by idontwantausername
emosbat wrote:
idontwantausername wrote:
emosbat wrote:use this javascript code:

Code: Select all

 $(document).ready(function() {
         hide_qr(true);
 });
Thanks, where do i place this?
somewhere in viewtopic_body.html between <script></script> tag :mrgreen:

There's no script tag in that file

Re: [RC3] eMosbat's TinyMCE Integration (WYSIWYG editor)

Posted: Fri Jan 18, 2013 8:49 am
by emosbat
sorry you could add it in quickreply_editor.html
you can add it after onload_functions.push('init_qr();');.

Re: [RC3] eMosbat's TinyMCE Integration (WYSIWYG editor)

Posted: Fri Jan 18, 2013 3:27 pm
by idontwantausername
Thank you :)

Re: [RC3] eMosbat's TinyMCE Integration (WYSIWYG editor)

Posted: Sat Jan 19, 2013 4:10 pm
by mladiucitelj
emosbat wrote:
mladiucitelj wrote:
emosbat wrote:
mladiucitelj wrote:Hi!

Is it possible to resize editor when posting a new post?
should add this code to editor:

http://www.tinymce.com/wiki.php/Configu ... d_resizing
Thanks, but in which file?
emotinymce_editor.html
find:

Code: Select all

editor = tinyMCE.init({
replace with:

Code: Select all

editor = tinyMCE.init({
theme_advanced_resizing : true,
Resizing is working, but when I type and come to the right end of the editor it just extends to right! Typing should go to next line, but it doesn't.

Re: [RC3] eMosbat's TinyMCE Integration (WYSIWYG editor)

Posted: Sat Jan 19, 2013 5:19 pm
by emosbat
tried demo on tinymce but do not extend to right for me?

http://www.tinymce.com/tryit/full.php