[3.2][BETA] Rin Editor for phpBB (WYSIWYG Editor) (Powerd by CKEditor)

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
Meis2M
Translator
Posts: 756
Joined: Wed Mar 03, 2010 11:32 am
Location: IR.Damghan
Name: میثم نوبری
Contact:

Re: [3.2][BETA] Rin Editor for phpBB (Powerd by CKEditor)

Post by Meis2M » Sun Jul 16, 2017 6:33 am

Hi
a question
how can change the text area default font?

martec
Registered User
Posts: 171
Joined: Sat Sep 19, 2009 2:15 pm

Re: [3.2][BETA] Rin Editor for phpBB (Powerd by CKEditor)

Post by martec » Sun Jul 16, 2017 8:28 am

Meis2M wrote:
Sun Jul 16, 2017 6:33 am
Hi
a question
how can change the text area default font?
for wysiwyg mode.
root/ext/rin/editor/styles/all/template/js/contents.css
https://github.com/martec/Rin-Editor_fo ... nts.css#L9

for source mode:
moono-lisa skin: root/ext/rin/editor/styles/all/template/js/skins/moono-lisa/editor.css
find: textarea.cke_source{font-family:'Courier New',Monospace; and replace with your preference

moonocolor skin: root/ext/rin/editor/styles/all/template/js/skins/moonocolor/editor.css
find: textarea.cke_source{font-family:Tahoma,Verdana,Arial,Sans-Serif; and replace with your preference

Be sure to clear the cache after the changes.
Last edited by martec on Sun Jul 16, 2017 12:47 pm, edited 1 time in total.

User avatar
Meis2M
Translator
Posts: 756
Joined: Wed Mar 03, 2010 11:32 am
Location: IR.Damghan
Name: میثم نوبری
Contact:

Re: [3.2][BETA] Rin Editor for phpBB (Powerd by CKEditor)

Post by Meis2M » Sun Jul 16, 2017 12:25 pm

Thanks
in our language we don't use Arial or ... font even in text area , we have to change it.

martec
Registered User
Posts: 171
Joined: Sat Sep 19, 2009 2:15 pm

Re: [3.2][BETA] Rin Editor for phpBB (Powerd by CKEditor)

Post by martec » Sun Jul 16, 2017 12:47 pm

Meis2M wrote:
Sun Jul 16, 2017 12:25 pm
Thanks
in our language we don't use Arial or ... font even in text area , we have to change it.
Anything else I'm at your disposal. ;)

martec
Registered User
Posts: 171
Joined: Sat Sep 19, 2009 2:15 pm

Re: [3.2][BETA] Rin Editor for phpBB (Powerd by CKEditor)

Post by martec » Mon Jul 17, 2017 4:48 am

Travis CI build status: Image added

0.1.11-beta Released

- Added license.txt

Miri4ever
Registered User
Posts: 392
Joined: Sat Mar 07, 2015 11:18 am

Re: [3.2][BETA] Rin Editor for phpBB (Powerd by CKEditor)

Post by Miri4ever » Mon Jul 17, 2017 6:04 pm

I know there is already the button with more colors. But how to change the colors inside the first color pix box without using more colors and to safe the colors often needed and wanted. What is need to be edited ?

Also at the editor side there is an autogrow plugin witch makes the textarea lager as more as you write until to a maximum number of lines.


A question to this autosafe. Where is it safed and how could I use it. If I don't submit my post nothing changes and where can I get my saved edits back or what is it used for.

Isn't this c anywhere standart inside this editor or is it only related to PHPBB ?

Sure I know yours doing good work and yes it's often frustrating no many testing or writing things for this extension. I'm using PHPBB since a long time and the editor was always the bad part of the software. They said at 3.0 there is an new and later at 3.2. But now we still need your plugin for a perfect editor that's I'm so long looking for. :mrgreen: :mrgreen:
Homepage: Terra Oceanica

martec
Registered User
Posts: 171
Joined: Sat Sep 19, 2009 2:15 pm

Re: [3.2][BETA] Rin Editor for phpBB (Powerd by CKEditor)

Post by martec » Mon Jul 17, 2017 10:14 pm

Miri4ever wrote:
Mon Jul 17, 2017 6:04 pm
I know there is already the button with more colors. But how to change the colors inside the first color pix box without using more colors and to safe the colors often needed and wanted. What is need to be edited ?
you can use rineditor_config.html template https://github.com/martec/Rin-Editor_fo ... onfig.html ...
add something like below before of height: rinheight,.

Code: Select all

colorButton_colors: '1ABC9C,2ECC71,3498DB,9B59B6,4E5F70,F1C40F,' +
	'16A085,27AE60,2980B9,8E44AD,2C3E50,F39C12,' +
	'E67E22,E74C3C,ECF0F1,95A5A6,DDD,FFF,' +
	'D35400,C0392B,BDC3C7,7F8C8D,999,000',
Miri4ever wrote:
Mon Jul 17, 2017 6:04 pm
Also at the editor side there is an autogrow plugin witch makes the textarea lager as more as you write until to a maximum number of lines.
autogrow plugin not installed. you can install by yourself.
http://ckeditor.com/addon/autogrow

insert inside of root/ext/rin/editor/styles/all/template/js/plugins

and in rineditor_config.html template https://github.com/martec/Rin-Editor_fo ... onfig.html ...

and add something like below before of height: rinheight,.

Code: Select all

extraPlugins: 'autogrow',
autoGrow_minHeight: 200,
autoGrow_maxHeight: 600,
autoGrow_bottomSpace: 50,
of course this not work in source mode.
As you can see here http://sdk.ckeditor.com/samples/autogrow.html

Keep in mind that most plugins are not compatible with Rin Editor. If you are installing other plugins, keep in mind that you do this at your own risk.
Miri4ever wrote:
Mon Jul 17, 2017 6:04 pm
A question to this autosafe. Where is it safed and how could I use it. If I don't submit my post nothing changes and where can I get my saved edits back or what is it used for.
you saying about auto save?
if so....
https://community.mybb.com/thread-18942 ... pid1261917
Miri4ever wrote:
Mon Jul 17, 2017 6:04 pm
Isn't this c anywhere standart inside this editor or is it only related to PHPBB ?
this ins't default of phpbb 3.2. You need add by yourself in ACP.

martec
Registered User
Posts: 171
Joined: Sat Sep 19, 2009 2:15 pm

Re: [3.2][BETA] Rin Editor for phpBB (Powerd by CKEditor)

Post by martec » Tue Jul 18, 2017 11:10 am

0.1.12-beta Released

If you using 0.1.11-beta or before you must unistall and "Delete the extension’s data" before upload 0.1.12-beta files.

This extension is in the beta stage, keep in mind that it is only for test propose, not use beta stage extension in live forum.

Enhancement:
- Now Quick Quote Feature support android device.
- Added Auto Grow plugin

Miri4ever
Registered User
Posts: 392
Joined: Sat Mar 07, 2015 11:18 am

Re: [3.2][BETA] Rin Editor for phpBB (Powerd by CKEditor)

Post by Miri4ever » Tue Jul 18, 2017 5:13 pm

martec wrote:
Mon Jul 17, 2017 10:14 pm
you can use rineditor_config.html template https://github.com/martec/Rin-Editor_fo ... onfig.html ...
add something like below before of height: rinheight,.

Code: Select all

colorButton_colors: '1ABC9C,2ECC71,3498DB,9B59B6,4E5F70,F1C40F,' +
	'16A085,27AE60,2980B9,8E44AD,2C3E50,F39C12,' +
	'E67E22,E74C3C,ECF0F1,95A5A6,DDD,FFF,' +
	'D35400,C0392B,BDC3C7,7F8C8D,999,000',
Will give this a try. I think it's time to write some guides for myself how to modify things inside the editor by myself for every update made. Nobody can remember all this little things inside the code and where to search. But anyway nice work :)
this ins't default of phpbb 3.2. You need add by yourself in ACP.
I'm just asking because it's present here on this site inside PHPBB and I believe they using standart version without any modifications somewhere. But it's not a problem got this already inside at mine, just need to look for a nice Fontawesome Icon to display it inside the editor.
Homepage: Terra Oceanica

Miri4ever
Registered User
Posts: 392
Joined: Sat Mar 07, 2015 11:18 am

Re: [3.2][BETA] Rin Editor for phpBB (Powerd by CKEditor)

Post by Miri4ever » Tue Jul 18, 2017 5:46 pm

This Autogrow is a nice feature but maybe a stupid idea by me, just found a new bug with it now.

I work fine if you start new posts, but if you try to edit a post with many lines already inside the editor textbox breaks out of PHPBB and just overwrite buttons an everthing that is normally displayed under the posting box.

Image

You see submit buttons etc is overwritten as soon as you click edit and click with th mouse inside the editor window.
Homepage: Terra Oceanica

martec
Registered User
Posts: 171
Joined: Sat Sep 19, 2009 2:15 pm

Re: [3.2][BETA] Rin Editor for phpBB (Powerd by CKEditor)

Post by martec » Wed Jul 19, 2017 10:38 am

0.1.13-beta Released

If you using 0.1.11-beta or before you must unistall and "Delete the extension’s data" before upload 0.1.13-beta files.

This extension is in the beta stage, keep in mind that it is only for test propose, not use beta stage extension in live forum.

Buf fix:
- Fixed issue with Auto Grow plugin (reported here viewtopic.php?f=456&t=2427126&start=150#p14784301)
- Fixed issue when using align tag inside of quote tag. (reported in my test forum. please avoid use my test forum to report bug, use this thread)

Miri4ever
Registered User
Posts: 392
Joined: Sat Mar 07, 2015 11:18 am

Re: [3.2][BETA] Rin Editor for phpBB (Powerd by CKEditor)

Post by Miri4ever » Wed Jul 19, 2017 4:20 pm

Ok here is an update from my site. I tested yesterday this extension both ways and got at both ways the same error. With normal smilies on and with my AJAX Smilies Extension. Both result the error.

Now today after update it seem working with normal smilies as it should be. Really good work.

But it still conflicts with AJAX Smilies on. It looks like some JS File don't like each other. The Editor textarea border still seems to be on the top of everything and if you resize Box all Smilies and PHPBB Texts and buttons under it will still not move and seems staying inside the background overwritten from editor text. I really liked this AJAX Smilies Version but now it seems I had to turn them off. Just a few line of JS code but I'm not as good to rewrite it to get it working again. Don't know if this is possible.

Just made a new screenshot how this looks like, but only if both extensions are active. It does not result to RIN Editor by it's own. It worked before well, but this autosize somehow changed some that both JS Files don't like.

Image


Are there missing translations ? I also got this after enable new Version:

Modul hinzugefügt » ACP_RCE_SETTING
Mi 19. Jul 2017, 17:08 Erweiterung aktiviert » rin/editor
Mi 19. Jul 2017, 17:08 Modul hinzugefügt » ACP_RCE_TITLE
Homepage: Terra Oceanica

Mohammed AlSarsawi
Registered User
Posts: 41
Joined: Fri Mar 03, 2017 1:35 pm

Re: [3.2][BETA] Rin Editor for phpBB (Powerd by CKEditor)

Post by Mohammed AlSarsawi » Wed Jul 19, 2017 10:12 pm

in source mode only
there is issue when using align tag between 2 tags or more
any tags after align tag will not take effect

so for example
bold > align > size

Image

or
size > align > bold

Image

or
bold > align > ... .. .

Image


Thank you for your great work

martec
Registered User
Posts: 171
Joined: Sat Sep 19, 2009 2:15 pm

Re: [3.2][BETA] Rin Editor for phpBB (Powerd by CKEditor)

Post by martec » Thu Jul 20, 2017 2:07 am

Mohammed AlSarsawi wrote:
Wed Jul 19, 2017 10:12 pm
in source mode only
there is issue when using align tag between 2 tags or more
any tags after align tag will not take effect

so for example
bold > align > size

Image

or
size > align > bold

Image

or
bold > align > ... .. .

Image


Thank you for your great work
Hi,

sorry but this not related to my extension. This is bug of 3.2 and already fixed in 3.2.1.
So you need upgrade phpbb to 3.2.1

martec
Registered User
Posts: 171
Joined: Sat Sep 19, 2009 2:15 pm

Re: [3.2][BETA] Rin Editor for phpBB (Powerd by CKEditor)

Post by martec » Thu Jul 20, 2017 2:21 am

Miri4ever wrote:
Wed Jul 19, 2017 4:20 pm

Are there missing translations ? I also got this after enable new Version:

Modul hinzugefügt » ACP_RCE_SETTING
Mi 19. Jul 2017, 17:08 Erweiterung aktiviert » rin/editor
Mi 19. Jul 2017, 17:08 Modul hinzugefügt » ACP_RCE_TITLE
for "module added" it's normal. You can check other extensions too. Like below.
Image

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: andreask, Naguissa and 20 guests

cron