[MODDB] WYSIWYM Markdown editor

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
User avatar
leviatan21
Registered User
Posts: 2663
Joined: Fri Aug 10, 2007 7:22 am
Location: Buenos Aires, Argentina
Name: Gabriel

[MODDB] WYSIWYM Markdown editor

Post by leviatan21 » Wed Jun 02, 2010 4:22 pm

Modification Name: [BETA] WYSIWYM
Author: leviatan21

Modification Description:: This mod is as real time preview
It is not a WYSIWYG editor. Rather, it is a WYSIWYM Markdown editor (what you see Is what you mean).

Modification Version: [BETA] 1.0.0
Please keep in mind that this is still early in development, so not everything is in place or working.
It is not recommended that you install it on a live forum.
Let me know if you find anything broken, though, so I can take a look.
Also, good ideas and bug reports are always welcome.


phpBB version: phpbb 3.0.7-PL1

Requirements: JavaScript enabled

License: GNU General Public License v2
If you feel like supporting me by paying me, use the PayPal donate button.
Image

To do list:
  • ACP On/Off options
  • improve attachment
  • More to come
Done list:
  • Optimized code
  • improve phpbb_tokens
  • Subsilver2 style
  • improve code
  • improve url detection
  • font size & font color click.
  • Maximum nested quotes per post
  • images optionget
  • flash optionget
  • Disable BBCode
  • Disable smilies
  • Do not automatically parse URLs & emails
  • custom bbcodes
  • Smilies
  • code nested and SyntaxHighlight
  • min_post_chars and max_post_chars
  • max_post_smilies
  • max_post_urls
  • config and forum permission for bbcodes, smilies, img, url, flash and quote
Compatibility :
Image
Image

Modification Download: ohloh.net
Modification Git: github.com

Author Notes: on every update make sure you refresh the template and also the browser cache
Last edited by leviatan21 on Thu Jun 24, 2010 4:11 am, edited 9 times in total.
Excuse me for my poor English, I speak Spanish. | Image phpBB en Español

User avatar
Mess
Registered User
Posts: 985
Joined: Wed Jul 01, 2009 6:37 am
Name: Kim

Re: [DEV] WYSIWYM Markdown editor

Post by Mess » Wed Jun 02, 2010 5:56 pm

Interesting, ill keep an eye on this for sure. :)

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] WYSIWYM Markdown editor

Post by 4_seven » Wed Jun 02, 2010 6:41 pm

congrats. i've have the same project on the run. so i can lay it down now.
best wishes and good look (main-problem > quote / multiple quotes)
Current Mods | Mod Base | php(BB) programming | No help via PM

User avatar
leviatan21
Registered User
Posts: 2663
Joined: Fri Aug 10, 2007 7:22 am
Location: Buenos Aires, Argentina
Name: Gabriel

Re: [DEV] WYSIWYM Markdown editor

Post by leviatan21 » Wed Jun 02, 2010 6:54 pm

4_seven wrote:congrats. i've have the same project on the run. so i can lay it down now.
best wishes and good look (main-problem > quote / multiple quotes)
Why not share your code with me ? or better join me on this ;)
Excuse me for my poor English, I speak Spanish. | Image phpBB en Español

User avatar
eman80
Registered User
Posts: 327
Joined: Tue Aug 19, 2008 1:49 pm

Re: [DEV] WYSIWYM Markdown editor

Post by eman80 » Wed Jun 02, 2010 7:01 pm

keep going leviatan21

good luck

we will wait :D
welcome to my forum:
http://www.elibrary4arab.com

autinhyeu
Registered User
Posts: 685
Joined: Mon Apr 14, 2008 6:34 am
Location: Vietnamese
Contact:

Re: [DEV] WYSIWYM Markdown editor

Post by autinhyeu » Wed Jun 02, 2010 7:29 pm

Bookmarked this post. Thanks leviatan21 ;)
phpBB Community in Vietnamese: http://www.phpbbvn.com

Sorry, my English language is fine impossible


User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: [DEV] WYSIWYM Markdown editor

Post by katib » Wed Jun 02, 2010 8:57 pm

Nice Idea :)
It was requested long time before here:
http://www.phpbb.com/community/viewtopi ... &t=1487505
I used to use it on YaBB board : instat preveiw

User avatar
leviatan21
Registered User
Posts: 2663
Joined: Fri Aug 10, 2007 7:22 am
Location: Buenos Aires, Argentina
Name: Gabriel

Re: [DEV] WYSIWYM Markdown editor

Post by leviatan21 » Wed Jun 02, 2010 9:22 pm

katib wrote:Nice Idea :)
It was requested long time before here:
http://www.phpbb.com/community/viewtopi ... &t=1487505
I used to use it on YaBB board : instat preveiw
This don't use Ajax, Ajax will request too much from the server and delay the preview, this is just pure JavaScript, and only will generate the preview if the "preview box" is visible ( have a button to hide/unhide )
Excuse me for my poor English, I speak Spanish. | Image phpBB en Español

User avatar
leviatan21
Registered User
Posts: 2663
Joined: Fri Aug 10, 2007 7:22 am
Location: Buenos Aires, Argentina
Name: Gabriel

Re: [DEV] WYSIWYM Markdown editor

Post by leviatan21 » Thu Jun 03, 2010 3:56 am

MOD version [DEV] 0.0.1
See first post for Download Link
Excuse me for my poor English, I speak Spanish. | Image phpBB en Español

User avatar
leviatan21
Registered User
Posts: 2663
Joined: Fri Aug 10, 2007 7:22 am
Location: Buenos Aires, Argentina
Name: Gabriel

Re: [DEV] WYSIWYM Markdown editor

Post by leviatan21 » Thu Jun 03, 2010 6:57 am

MOD version [DEV] 0.0.3 :o
See first post for Download Link
Excuse me for my poor English, I speak Spanish. | Image phpBB en Español

User avatar
eman80
Registered User
Posts: 327
Joined: Tue Aug 19, 2008 1:49 pm

Re: [DEV] WYSIWYM Markdown editor

Post by eman80 » Thu Jun 03, 2010 7:13 am

very nice :)

but there is a note:

The color does not work Immediately, we have to make space or enter to see the effect.
welcome to my forum:
http://www.elibrary4arab.com

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4942
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [DEV] WYSIWYM Markdown editor

Post by VSE » Thu Jun 03, 2010 9:31 am

Image
Font sizes don't quite match up between the real preview and the WYSIWYM preview. :?

Keep up the good work!
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.

User avatar
leviatan21
Registered User
Posts: 2663
Joined: Fri Aug 10, 2007 7:22 am
Location: Buenos Aires, Argentina
Name: Gabriel

Re: [DEV] WYSIWYM Markdown editor

Post by leviatan21 » Fri Jun 04, 2010 9:14 pm

MOD version [DEV] 0.0.4 :o
See first post for Download Link
Excuse me for my poor English, I speak Spanish. | Image phpBB en Español

User avatar
eman80
Registered User
Posts: 327
Joined: Tue Aug 19, 2008 1:49 pm

Re: [DEV] WYSIWYM Markdown editor

Post by eman80 » Fri Jun 04, 2010 9:40 pm

Hello

when I tried to test it I got this error:

Code: Select all

خطأ عام
SQL ERROR [ mysqli ]

Unknown column 'abbcode' in 'where clause' [1054]

SQL

SELECT bbcode_tag, bbcode_match, bbcode_tpl FROM phpbb_bbcodes WHERE abbcode = 0 ORDER BY bbcode_tag

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/functions_display.php
LINE: 977
CALL: dbal_mysqli->sql_query()

FILE: posting.php
LINE: 1511
CALL: display_custom_bbcodes()
welcome to my forum:
http://www.elibrary4arab.com

Locked

Return to “[3.0.x] MODs in Development”

cron