FeatherBB

Lighter than a feather.

You are not logged in.

# 1 2015-07-12 00:52:00

beaver
Administrator
From: France
Registered: 2015-07-03
Posts: 31

Post editor and questions

Hi there !

First of all, congratulations for your project, it seems really promising smile

I read that you wanted a lightweight post editor, pure JS without jQuery. I'd be glad to help you doing this (according to my free time, which is not often these times). Here is a small JS library we could improve and use : few code, simple, easily extendible.

Edit : I noticed that several .php and .tpl files were present in the /style/FeatherBB, is it intended or have you already planned to remove them ? I see them included nowhere else in the code. Also, what would you think of including a CSS/JS compacter and minifier when developing, so that in "production mode" all assets are merged into one small file as FeatherBB aims to optimize performances ?

Sorry for my english, on vient du même pays tongue

Last edited by beaver (2015-07-12 01:30:35)

Offline

# 2 2015-07-12 03:39:29

daymond
Member
Registered: 2015-06-08
Posts: 7

Re: Post editor and questions

Hey dude, the post editor that you suggested might be too outdated or doesn't fit with Featherbb even though it's lightweight. I can't really make any decision on whether to use it, that was just my personal opinion. Still thanks for the suggestion smile

Offline

# 3 2015-07-12 09:46:46

beaver
Administrator
From: France
Registered: 2015-07-03
Posts: 31

Re: Post editor and questions

Oh I didn't mean to use this library as-is, indeed a 2008 code clearly needs be upgraded and extended for FeatherBB use wink But what makes you say it doesn't fit with FeatherBB ? Was this juste because of its age ?

Offline

# 4 2015-07-12 10:35:42

Oukiva
Member
Registered: 2015-07-12
Posts: 3

Re: Post editor and questions

Hi. My opinion is that the default forum editor should be a minimalist one. The one from the actual FluxBB, a textarea and a few link for most common BBcode option is enough. There are endless options & features that can be added to an editor, but very few forums will need or use them all. A minimalist editor, plus a code that allow to easily make mods to upgrade it or replace the editor and it would be ok. Don't lost your time on an new editor when there will be many coming as mods... if featherBB succeed wink

Offline

# 5 2015-07-12 11:15:15

beaver
Administrator
From: France
Registered: 2015-07-03
Posts: 31

Re: Post editor and questions

That's why I think this library is a better base for a default minimalist toolbar, compared to other libraries linked in another message which are much more heavy (even if once again, I plan to upgrade and complete it a bit). Anyway I'll wait for adaur's reply, thank you for your answers smile

Offline

# 6 2015-07-12 13:57:24

adaur
Lead developer
From: France
Registered: 2015-06-05
Posts: 98
Website

Re: Post editor and questions

Hi,

I really like your editor! I'll take a closer look asap. The tpl files should be deleted, and yes, your compacter and minifier is a great idea smile

@Oukiva: which editor do you have in mind? FluxBB doesn't have a built-in editor.

Offline

# 7 2015-07-12 21:33:48

adaur
Lead developer
From: France
Registered: 2015-06-05
Posts: 98
Website

Re: Post editor and questions

I have reviewed a lot of scripts and two caught my attention:

http://corpocrat.com/2008/08/15/free-wysiwyg-bbcode-editor-in-javascript/ (beaver's one) http://ramui.com/documentation/bbcode-generator-php-html-decoder-script.html

Both are very simple and ultra light. Let me know what you think!

Offline

# 8 2015-07-12 22:18:19

sklerder
Member
Registered: 2015-06-27
Posts: 15

Re: Post editor and questions

Hi all !

The second one seems to be more "rich" (colors, "quote", ...) than the first one. But both seem interesting.

With FluxBB, I use the "FluxBB toolbar", so an equivalent to it would be the best choice for me ...

But it's up to you to decide, as you'll integrate it (I don't know which would be the easier to integrate) smile

Offline

# 9 2015-07-13 00:53:52

beaver
Administrator
From: France
Registered: 2015-07-03
Posts: 31

Re: Post editor and questions

Hi,

Indeed the second one seems richer ! If you're not in a hurry, let me a few days to upgrade a bit/integrate it and I'll make a pull request to your repo before the end of the week. Idem for the assets minifier. BTW, a Less/SASS and CoffeeScript support could be another nice feature. I'll see that later if I find the time and motivation smile

Offline

# 10 2015-07-13 10:08:22

Oukiva
Member
Registered: 2015-07-12
Posts: 3

Re: Post editor and questions

sklerder#124 wrote:

The second one seems to be more "rich" (colors, "quote", ...) than the first one.

IMHO the second one is already too rich. Many forum (the serious ones ? wink ) do not want options like Color, Size, Font and even Images and graphic Smileys ...

The first one would be enough I think: B I U S url list quote code

Look at others forum softwares. Most of popular one have a very basic editor (or even just the raw textarea form) but have a collection of editor plugins targeting different types of forum & public.

For the core editor : the simpler, the better. Don't forget: Lighter than a feather ! wink

Offline

# 11 2015-07-13 18:52:33

adaur
Lead developer
From: France
Registered: 2015-06-05
Posts: 98
Website

Re: Post editor and questions

@sklerder: I like the FluxToolbar as well, we could use it here since it's light too.

@beaver: sure! Feel free to play with the code. I have a LESS version of the theme, would you be interested?

@Oukiva: I agree that we should keep the core light. However, color and smilies are part of FluxBB's original parser, I'd like to keep these features. Fonts can go, but I'm not against a single tag to make the text bigger or smaller.

Offline

# 12 2015-07-13 22:39:11

sklerder
Member
Registered: 2015-06-27
Posts: 15

Re: Post editor and questions

Hi adaur, all.

I'm not absolutely for FluxToolbar, but it's simple (rather light, dont know how much vs the two you propsed). Every toolbar providing the same "tools" that FluxToolBar (and lighter than FluxToolbar) would be welcome smile

Offline

# 13 2015-07-14 10:55:29

beaver
Administrator
From: France
Registered: 2015-07-03
Posts: 31

Re: Post editor and questions

Hi,

A base BBcode editor has been integrated in Quick and normal posts views, but I'm not sure you can see it on the repo as I messed up a bit with my git client big_smile It's the first time I fork a public repo actually, I'll see that more in details soon smile For the moment only default tags proposed are working, more will come later : small and large, colors... There's also a useless pull request you can delete.

Offline

# 14 2015-07-14 12:25:25

adaur
Lead developer
From: France
Registered: 2015-06-05
Posts: 98
Website

Re: Post editor and questions

Good, I'm waiting for it smile You can use GitHub's Windows client, it's very easy and convenient to use.

Offline

# 15 2015-07-14 14:31:13

beaver
Administrator
From: France
Registered: 2015-07-03
Posts: 31

Re: Post editor and questions

Ok that should be ok now, I didn't get I had to publish my own fork of the repo before making a pull request x) Tell me if all went right !

Offline

Board footer

Powered by FeatherBB

[ Generated in 0.031042 seconds, 7 queries executed - Memory usage: 1.87 MiB (Peak: 1.9 MiB) ]