019440th since April 04, 2007
Xicheng's web log
----- a place to make mistakes and learn from scratch
Jan 29, 2008 ( Tuesday )
( 294 )
My WBEditor
Inspired by Alex Brem's fieldSelection jQuery plugin, I began to make my own WBEditor(WebBlogEntry editor), see the following plot or a GIF demo (2.9MB):
Currently, five typies of buttons are available:
1) Fonts: B(bold), U(underline), I(italic)
2) Links: a(link)
3) Multi-medias: wmv(movie), wma(audio), img(image)
4) Find: string search in the textarea
5) Undo, redo: (maximum 10 times)
Also added some validations from the server-side code(MyApp::Regex.pm)
Still in experimental stage (only contains some basic <c /> tags).
Currently, five typies of buttons are available:
1) Fonts: B(bold), U(underline), I(italic)
2) Links: a(link)
3) Multi-medias: wmv(movie), wma(audio), img(image)
4) Find: string search in the textarea
5) Undo, redo: (maximum 10 times)
Also added some validations from the server-side code(MyApp::Regex.pm)
Still in experimental stage (only contains some basic <c /> tags).
Comments:
xicheng says:
Some progresses:
(1) [improved] undo/redo will highlight text, still has minor problems with selected-length when the tag contains input from Javascript function: prompt()
(2) [known bug] under Firefox, the caret position is not working consistently, mainly influence the find (findnext and findprev).
(1) [improved] undo/redo will highlight text, still has minor problems with selected-length when the tag contains input from Javascript function: prompt()
(2) [known bug] under Firefox, the caret position is not working consistently, mainly influence the find (findnext and findprev).
At 20:53 Jan 30, 2008 EDT |
Modify comment
xicheng says:
ScrollTo(a jQuery plugin) is probably a solution for (2).
At 14:20 Feb 4, 2008 EDT |
Modify comment
Add a comment:
Read the Guidance for the first time users
Need browser cookie to submit properly
[ Previous Page ] | [ Blog Main ]
Monthly archives
Site Statistics
Newest comments
My links
Add new links
Advanced Search
Blog
