📄 changelog
字号:
* popupdiv.js, popupwin.js: files for handling some popup dialogs generated from JS code * example-table-operations.html: credit modified2003-05-05 Mihai Bazon <mishoo@localhost.localdomain> * htmlarea-lang-en.js: I18N for 2 very common text-s ("ok" and "cancel") * htmlarea.css: style for new popups * htmlarea.js: added new variable (_mdoc which keeps a reference to the document that contains the HTMLArea. it's sometimes useful (mainly in popups))2003-04-25 Mihai Bazon <mishoo@localhost.localdomain> * plugins/TableOperations/table-operations.js: modified credit (bloki.com instead of zapatec.com)2003-04-24 Mihai Bazon <mishoo@localhost.localdomain> * plugins/TableOperations/table-operations.js: fixed code to work if editor used in fullscreen * popups/fullscreen.html: added nice code that automagically loads all scripts in the parent page (opener) * plugins/TableOperations/table-operations.js: - fixes for IE (IE doesn't need the BR inside empty TD-s) - when called in fullscreen mode it doesn't update the toolbar * htmlarea.js: small fix for IE (getAllAncestors sometimes returned the HTML and Document element too)2003-04-23 Mihai Bazon <mishoo@localhost.localdomain> * popups/fullscreen.html: small bug fixed * htmlarea.css: changed bg for disabled buttons (this is for debug, I repeat ;-) * htmlarea.js: - API support for external plugins - support for context-enabled buttons - performance improvement: cancelling updateToolbar requests if made in less than 50ms -- in other words, only honor the last one * example.html: test for context-enabled buttons * plugins/TableOperations/table-operations.js: New file. * plugins/TableOperations/table-operations.js: added TableOperations plugin several new toolbar buttons + fixes to some existent ones file that demonstrate usage of the TableOperations plugin * plugins/TableOperations/table-operations-lang-en.js: New file. * plugins/TableOperations/table-operations-lang-en.js: added TableOperations plugin several new toolbar buttons + fixes to some existent ones file that demonstrate usage of the TableOperations plugin * images/ed_splitcell.gif, images/ed_splitcol.gif: New file. * images/ed_splitcell.gif, images/ed_splitcol.gif, images/ed_splitrow.gif, images/ed_paste.gif, images/ed_insunder.gif, images/ed_mergecels.gif, images/ed_inscellft.gif, images/ed_inscelrgt.gif, images/ed_insleft.gif, images/ed_insright.gif, images/ed_insabove.gif, images/ed_delcol.gif, images/ed_delrow.gif: added TableOperations plugin several new toolbar buttons + fixes to some existent ones file that demonstrate usage of the TableOperations plugin * example-table-operations.html: New file. * example-table-operations.html, images/ed_delcel.gif: added TableOperations plugin several new toolbar buttons + fixes to some existent ones file that demonstrate usage of the TableOperations plugin2003-04-21 Mihai Bazon <mishoo@localhost.localdomain> * htmlarea.js: added status bar (cool B-) * htmlarea.css: various improvements for the status bar * example.html: minor fix (background-color instead of background)2003-04-20 Mihai Bazon <mishoo@localhost.localdomain> * htmlarea.js: fix: IE parsing problem * htmlarea.css, htmlarea.js, popups/fullscreen.html: added statusbar * images/ed_tableprop.gif: New file. * images/ed_tableprop.gif: added images for table operations buttons * images/ed_cellprop.gif, images/ed_delcel.gif, images/ed_delcol.gif, images/ed_delrow.gif, images/ed_insabove.gif, images/ed_inscellft.gif, images/ed_inscelrgt.gif, images/ed_insleft.gif, images/ed_insright.gif, images/ed_insunder.gif, images/ed_mergecels.gif, images/ed_paste.gif, images/ed_rowprop.gif, images/ed_show_border.gif, images/ed_splitcel.gif, images/ed_splitrow.gif: New file. * images/ed_cellprop.gif, images/ed_delcel.gif, images/ed_delcol.gif, images/ed_delrow.gif, images/ed_insabove.gif, images/ed_inscellft.gif, images/ed_inscelrgt.gif, images/ed_insleft.gif, images/ed_insright.gif, images/ed_insunder.gif, images/ed_mergecels.gif, images/ed_paste.gif, images/ed_rowprop.gif, images/ed_show_border.gif, images/ed_splitcel.gif, images/ed_splitrow.gif: added images for table operations buttons * example.html: even more examples of customization, but commented out so that the example page looks initially with the editor defaults * htmlarea-lang-en.js: Added tooltips for cut, copy, paste, undo, redo buttons * htmlarea.js: new features: - cut, copy, paste, undo, redo buttons - added functions: getParentElement, getAllAncestors - buttons can now be enabled/disabled function of the context (i.e. caret is inside a table) - iframe border removed on Mozilla (looks better) * htmlarea.css: minor fix [padding]; also contains some debugging stuff that needs to be removed (disabled buttons have red background, that's because Mozilla doesn't seem to support opacity any longer)2003-04-19 itools <itools@mishoo> * test.cgi: .. * test.cgi: ...2003-04-15 Mihai Bazon <mishoo@localhost.localdomain> * htmlarea.js: added address: block-level element2003-04-02 Mihai Bazon <mishoo@localhost.localdomain> * popups/fullscreen.html: fixed small issue2003-03-24 Mihai Bazon <mishoo@localhost.localdomain> * htmlarea-lang-pt_br.js: brasilian translation2003-03-19 Mihai Bazon <mishoo@localhost.localdomain> * htmlarea-lang-nb.js: norwegian translation added * reference.html: fixed typo2003-03-15 Mihai Bazon <mishoo@localhost.localdomain> * htmlarea.js: fixed bug (createlink needs UI -> true, otherwise we get a link to nowhere)2003-03-04 Mihai Bazon <mishoo@localhost.localdomain> * htmlarea-lang-ja-euc.js, htmlarea-lang-ja-jis.js, htmlarea-lang-ja-sjis.js, htmlarea-lang-ja-utf8.js, htmlarea-lang-pl.js: new translations: japanese and polish2003-03-03 Mihai Bazon <mishoo@localhost.localdomain> * example.html, htmlarea.js: example.html: now validates (hopefully) htmlarea.js: opening help in a named window2003-03-02 Mihai Bazon <mishoo@localhost.localdomain> * reference.html: minor fix: showing how to include the "dialog.js" file2003-02-27 Mihai Bazon <mishoo@localhost.localdomain> * reference.html: fixes, improvements new sections on creating custom buttons * example.html: example on how to submit the form from something that's not a submit button * htmlarea.js: added "onsubmit" handler with usual syntax. * example.html: examples now using registerButton * popups/fullscreen.html: [fix] using now the new btnList layout; removed _textArea2 * htmlarea.js: - added helper function HTMLArea.Config.registerButton - _editor_url is back - fixed a problem that might disturb JS compressors ('"' character in regexp)2003-02-26 Mihai Bazon <mishoo@localhost.localdomain> * htmlarea.js: iframe border back.. * example.html: fixes -- new btnList style * htmlarea.js: changed btnList order -- tooltip, icon, textmode, action. * example.html: demo fix * example.html: [minor] validity * htmlarea.js: BUG FIX: now it remembers textarea content on page reload. Got rid of the secondary textarea. * htmlarea-lang-it.js: Italian translation -- from TeddyZ2003-02-24 Mihai Bazon <mishoo@localhost.localdomain> * htmlarea-lang-vn.js: Vietnamese lang module2003-02-22 Mihai Bazon <mishoo@localhost.localdomain> * htmlarea.js: Reorganized the btnList. Now it uses direct function calls. * reference.html: minor: use replace() instead of replaceAll() * htmlarea.js: - fixed bug: HTMLArea.replace() needs to call generate() (thanks Dlo) - adding the onsubmit handler -- check if the form is there first - added onunload handler that saves the HTML content, just in case user presses Back/Fwd or Refresh. * htmlarea-lang-se.js: swedish translation2003-02-21 Mihai Bazon <mishoo@localhost.localdomain> * htmlarea.js: done some of the changes suggested by Dlo bodyStyle -> pageStyle and allows other elements' styles too * example.html: example: how to add a custom button * reference.html: started documentation project2003-02-20 Mihai Bazon <mishoo@localhost.localdomain> * htmlarea-lang-da.js, htmlarea-lang-gb.js, htmlarea-lang-b5.js: added new lang files2003-02-19 Mihai Bazon <mishoo@localhost.localdomain> * htmlarea-lang-de.js: added credits * htmlarea-lang-nl.js: credit for redspider ;) * htmlarea-lang-de.js: added german translation (from atk) * htmlarea-lang-nl.js: dutch translation, from redspider * htmlarea-lang-ru.js: RU translation (from Frol, itools forums) * htmlarea-lang-es.js: added ES translation from itools forums (thanks Luis) * htmlarea-lang-fr.js: added french translation, from Ronan (interactivetools.com forums)2003-02-17 Mihai Bazon <mishoo@localhost.localdomain> * images/.xvpics/ed_align_justify.gif: not needed * htmlarea.js: -- made HTMLArea constructor to work with object instead of ID (if type of argument is not string) -- a simpler "replaceAll" function (2 lines) -- fixed a major bug that prevented IE6 to correctly retrieve the HTML (it seems that it was ignoring attribute values and only displaying "") -- used various techniques to reduce the code size (currently only 37K, 10K less than the original editor.js code [v 2.03]) * htmlarea.js: removed NodeIterator code -- was only used in one place and I found a different way to accomplish that task; code smaller by about 5K * dialog.js, images/.xvpics/ed_align_justify.gif, images/ed_about.gif, images/ed_align_center.gif, images/ed_align_justify.gif, images/ed_align_left.gif, images/ed_align_right.gif, images/ed_blank.gif, images/ed_charmap.gif, images/ed_color_bg.gif, images/ed_color_fg.gif, images/ed_copy.gif, images/ed_custom.gif, images/ed_cut.gif, images/ed_delete.gif, images/ed_format_bold.gif, images/ed_format_italic.gif, images/ed_format_strike.gif, images/ed_format_sub.gif, images/ed_format_sup.gif, images/ed_format_underline.gif, images/ed_help.gif, images/ed_hr.gif, images/ed_html.gif, images/ed_image.gif, images/ed_indent_less.gif, images/ed_indent_more.gif, images/ed_link.gif, images/ed_list_bullet.gif, images/ed_list_num.gif, images/ed_redo.gif, images/ed_undo.gif, images/fullscreen_maximize.gif, images/fullscreen_minimize.gif, images/insert_table.gif, popups/about.html, popups/blank.html, popups/custom2.html, popups/editor_help.html, popups/fullscreen.html, popups/insert_image.html, popups/insert_table.html, popups/old-fullscreen.html, popups/old_insert_image.html, popups/popup.js, popups/select_color.html: New file. * dialog.js, images/.xvpics/ed_align_justify.gif, images/ed_about.gif, images/ed_align_center.gif, images/ed_align_justify.gif, images/ed_align_left.gif, images/ed_align_right.gif, images/ed_blank.gif, images/ed_charmap.gif, images/ed_color_bg.gif, images/ed_color_fg.gif, images/ed_copy.gif, images/ed_custom.gif, images/ed_cut.gif, images/ed_delete.gif, images/ed_format_bold.gif, images/ed_format_italic.gif, images/ed_format_strike.gif, images/ed_format_sub.gif, images/ed_format_sup.gif, images/ed_format_underline.gif, images/ed_help.gif, images/ed_hr.gif, images/ed_html.gif, images/ed_image.gif, images/ed_indent_less.gif, images/ed_indent_more.gif, images/ed_link.gif, images/ed_list_bullet.gif, images/ed_list_num.gif, images/ed_redo.gif, images/ed_undo.gif, images/fullscreen_maximize.gif, images/fullscreen_minimize.gif, images/insert_table.gif, popups/about.html, popups/blank.html, popups/custom2.html, popups/editor_help.html, popups/fullscreen.html, popups/insert_image.html, popups/insert_table.html, popups/old-fullscreen.html, popups/old_insert_image.html, popups/popup.js, popups/select_color.html: first moved to CVS (close to release 3.0-beta) * htmlarea.js, test.cgi: New file. * htmlarea.js, test.cgi: first moved to CVS (close to release 3.0-beta) * htmlarea-lang-en.js, readme.html: New file. * htmlarea-lang-en.js, readme.html: first moved to CVS (close to release 3.0-beta) * example.html, htmlarea.css, license.txt: New file. * example.html, htmlarea.css, license.txt: first moved to CVS (close to release 3.0-beta)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -