upgraded to tinymce 2.0.1
This commit is contained in:
parent
586e1a00fa
commit
75acc465b0
891 changed files with 16251 additions and 18835 deletions
864
www/extras/tinymce2/changelog
Normal file
864
www/extras/tinymce2/changelog
Normal file
|
|
@ -0,0 +1,864 @@
|
|||
Version 2.0.1 (2005-12-02)
|
||||
Fixed critical bug in some MSIE versions when submiting content.
|
||||
Version 2.0 (2005-12-01)
|
||||
Added new paste_replace_list option to the paste plugin, this replaces some MS specific characters into normal characters.
|
||||
Added new convert_urls option, this was required to address some issues with Firefox 1.5.
|
||||
Added new paste_create_linebreaks option to paste plugin contributed by Kevin Rodgers.
|
||||
Added new advimage_update_dimensions_onchange option to advimage plugin, this is enabled by default.
|
||||
Added new table_inline_editing option, this enables you to toggle the inline table editing controls in FF 1.5.
|
||||
Added new object_resizing option, this enables you to toggle the resizing controls of table and images in FF 1.5.
|
||||
Added updated simplified Chinese language pack contributed by Wang Yang (tom_cat).
|
||||
Added updated Dutch language pack contributed by Mark van der Sanden.
|
||||
Added updated French language pack contributed by Normand Lamoureux.
|
||||
Added updated Polish language pack contributed by Wooya.
|
||||
Added updated Brazilian Portuguese language pack contributed by Marcio Barbosa.
|
||||
Added new Traditional Chinese language pack contributed by Twapweb.
|
||||
Added new Slovak language pack contributed by Vladimir VASIL.
|
||||
Added new Norwegian Nynorsk pack contributed by Knut B. Jacobsen.
|
||||
Fixed bug where getting init settings in handleNodeChange callback wasn't working correctly when multiple configs where used.
|
||||
Fixed bug with urls being converted into incorrect values in Firefox 1.5.
|
||||
Fixed bug where editor and cursor was flickering when TinyMCE was placed in a hidden div in Firefox 1.5.
|
||||
Fixed bug with missing parenthesis in a MSIE setInnerHTML call.
|
||||
Fixed bug where MSIE was producing a "Invalid source HTML for this operation" javascript error when placed in P tags.
|
||||
Fixed bug where some styles with RGB values was parsed/serialized incorrectly in Firefox/Mozilla.
|
||||
Fixed bug where reset form action didn't reset all editor instances to their original values.
|
||||
Fixed bug where a javascript exception whas thrown when the editor was resized to a negative value in MSIE.
|
||||
Fixed bug where inserting custom characters or date/time within a font element removed formatting in Firefox/Mozilla.
|
||||
Fixed bug where image urls was inserted incorrectly if relative_urls was set to false due to issues with inserthtml command.
|
||||
Fixed bug where encoding option wasn't working correctly becurse the entities list wasn't initialized.
|
||||
Fixed bug where MSIE removed the first comment from the HTML of a mceInsertContent call.
|
||||
Fixed bug where update all cells in table/row wasn't working on some tables with lots of whitespace.
|
||||
Fixed bug with td background attribute when inline_styles option was set to true in MSIE.
|
||||
Fixed bug where forms submitted with accesskey or return produced a JS error in Firefox 1.5.
|
||||
Fixed bug with URL convertion logic not converting paths correctly to relative/absolute URLs.
|
||||
Fixed bug where inline_styles option and flash moviews produced strange results.
|
||||
Fixed bug where tabs and links where opened in a new window in MSIE when dialog_type option was set to modal.
|
||||
Fixed bug where dialogs didn't open in Opera if the dialog_type option was set to modal.
|
||||
Fixed bug where the table plugin wasn't working with the inlinepopups plugin while running in MSIE.
|
||||
Fixed bug where embed elements whasn't parsed correctly by the flash plugin if no object tag was surrounding it.
|
||||
Fixed bug where contents wasn't stored/restored when using the browser back button in Firefox 1.5.
|
||||
Fixed issue where the ghost resize handles in Firefox/Mozilla was appearing when resizing images/tables.
|
||||
Fixed issue with constrain proportions feature in advimage plugin, when trying to reset the values to blank.
|
||||
Fixed issue where inlinepopups option couldn't be enabled/disabled on individual instances.
|
||||
Fixed issue where TDs was created instead of TH elements when inserting a column on a row with TH elements.
|
||||
Fixed issue with editor_selector/editor_deselector options couldn't be used when mode was specific_textareas.
|
||||
Fixed issue where font selection produced null face attributes in MSIE.
|
||||
Fixed issue where document local anchors where prefixed with the document name.
|
||||
Fixed issue where link/image dialogs of the advanced theme didn't open using inlinepopups when enabled.
|
||||
Fixed so the CSS select list gets hidden in the link dialog in advanced theme if there isn't any CSS classes.
|
||||
Fixed so that the onsubmit handler of a form was processed correctly when posting using the save plugin.
|
||||
Fixed so TinyMCE makes some very simple cleanups even if cleanup option is set to false.
|
||||
Fixed so alignment button gifs have the justify prefix, such as justifyleft, for compatiblity with Drupal.
|
||||
Fixed compatiblity issues with the .NET version of TinyMCE Compressor.
|
||||
Fixed performance issue with fullscreen plugin, it switches back to normal view a lot faster now.
|
||||
Fixed issues with mceSelectList class in advanced theme and compressed it some.
|
||||
Renamed the Norwegian language pack from no to nb since it's "Norwegian Bokmål".
|
||||
Version 2.0RC4 (2005-10-30)
|
||||
Fixed bug with font face/size/color wasn't working correctly in Firefox 1.5b1.
|
||||
Fixed bug where all actions where dispatching the onbeforeunload event.
|
||||
Fixed bug where buttons in fullscreen mode wasn't working in MSIE.
|
||||
Fixed bug where style removal with drop list wasn't working correctly.
|
||||
Fixed bug where element path list or return key some times didn't scroll to the right location.
|
||||
Fixed bug where return key in Firefox/Mozilla some times produced a error.
|
||||
Fixed bug where MSIE was presenting a alert box about insecure items when running TinyMCE over HTTPS.
|
||||
Fixed bug where TR/TD elements width/height attributes produced a JS error on cleanup.
|
||||
Fixed bug where Polish Ctrl+Alt+Z executed the undo function instead of inserting national character.
|
||||
Fixed bug where editor couldn't be initialized if no rows or height where specified on a textarea.
|
||||
Fixed bug where comments sometimes got removed from HTML code.
|
||||
Fixed bug with advimage not inserting onmouseover attribute correctly.
|
||||
Fixed bug where anchors with child nodes messed up list elements.
|
||||
Fixed bug where apply_source_formatting option wasn't working when used together with remove_linebreaks.
|
||||
Fixed bug where empty paragraphs where invisible in Firefox. These are now padded with a .
|
||||
Fixed bug where tables without a border attribute didn't get visual aid borders until cleanup.
|
||||
Fixed bug with URL convertion, absolute URLs to the same domain without trailing slash produced incorrect results.
|
||||
Fixed bug with URL convertion of urls like this somedir/?id=3 produced somedir?id=3.
|
||||
Fixed bug with weird cursor movement when pressing return/enter in a list when running on Firefox/Mozilla.
|
||||
Fixed bug where contents where deleted sometimes when user pressed return/enter running on Firefox/Mozilla.
|
||||
Fixed bug where style elements what generated empty in MSIE, but using style tags is not recommended.
|
||||
Fixed bug with not beeing able to have absolute urls in the external_link_list_url and simmilar.
|
||||
Fixed bug with bold, italic, underline, strikethrough buttons not beeing selected correctly.
|
||||
Fixed bug with font size and font face select list not beeing selected correctly.
|
||||
Fixed bug where document anchors was incorrectly converted if document_base_url was defined.
|
||||
Fixed bug where changing border width/color of a table didn't update CSS styles correcty.
|
||||
Fixed bug where emotions plugin didn't insert a new smiley the second time you insert one.
|
||||
Fixed bug with blockquote command produced javascript error when used on lists in MSIE.
|
||||
Fixed bug with cleanup converting flash elements to images.
|
||||
Fixed bug where class wasn't selected in drop list of advlink/advimage dialogs when editing links/images.
|
||||
Fixed bug where cellpadding/cellspacing/scope wasn't correctly handled in MSIE 5.5SP2.
|
||||
Fixed bug where hreflang,charset and type attributes wasn't returned correctly in MSIE 5.5SP2.
|
||||
Fixed bug with broken image URLs when user clicked the cleanup button in Firefox 1.5b2.
|
||||
Fixed some compatiblity issues with call to createStyleSheet and event.target setup.
|
||||
Fixed more compatiblity issues with scripts extending core JS logic such as the Array class.
|
||||
Fixed issue where paragraphs wasn't generated if user pressed returned inside a H1-H6 running on Firefox/Mozilla.
|
||||
Fixed issue with context menu plugin messing up some onclick events.
|
||||
Fixed issue with missing </tbody> HTML in advanced theme.
|
||||
Fixed issue with Finnish language pack, it wasn't working at all.
|
||||
Fixed issue where button control styles needed to be overriden in default editor_ui.css.
|
||||
Fixed issue with a broken link in the documentation to the theme_advanced_resize_horizontal option.
|
||||
Fixed issue with missing var declaration of a buttons variable in the advanced theme.
|
||||
Fixed issue with missing block elements in block element regexp.
|
||||
Fixed issue where advhr plugin didn't produce valid attribute for noshade.
|
||||
Fixed issue with misslabeled option, plaintext_create_paragraphs is renamed to paste_create_paragraphs.
|
||||
Fixed issue where remove_script_host and relative_urls where treated as true if they where specified as strings.
|
||||
Fixed issue with charmap, made it easier to select/click characters.
|
||||
Fixed issue with search/replace dialogs not being refocused in MSIE.
|
||||
Fixed issues with dialogs being to small if large class names where added. Made sure they can grow.
|
||||
Fixed issues with some dialogs being to small in NS 7.2 and not working correctly in NS 7.1.
|
||||
Fixed missing HEAD element in fullscreen.htm file, contributed by monkeybrain.
|
||||
Fixed some HTML issues with the advhr plugin, contributed by monkeybrain.
|
||||
Fixed some small issues with the span element rule of the XHTML rule set in valid_elements documentation.
|
||||
Added new Opera 9 support, most of the functions is working in the prerelease of Opera 9.
|
||||
Added new paste_strip_class_attributes option to paste plugin, contributed by monkeybrain.
|
||||
Added new merge_styles_invalid_parents option, allows users to control what elements gets styles.
|
||||
Added new theme_advanced_resizing_use_cookie option, this enables you to disable the cookie used by resize.
|
||||
Added new function that converts all font elements to span elements when the editor loads.
|
||||
Added new force_hex_style_colors option, enables you to control the color format of CSS styles.
|
||||
Added new convert_fonts_to_spans option, this option converts fonts to span elements.
|
||||
Added new font_size_classes option, this option is used together with convert_fonts_to_spans.
|
||||
Added new doctype option, enables you to control the internal doctype declaration.
|
||||
Added new event_elements option contributed by happy_noodle_boy.
|
||||
Added new path tooltips for font, span and flash elements such as color, font-family, src and so forth.
|
||||
Added trim_span_elements back again, this option removes unneeded span elements.
|
||||
Added documentation of the apply_source_formatting option.
|
||||
Added updated Danish language pack, contributed by Jan Moelgaard.
|
||||
Added updated Hebrew language pack, contributed by Liron Newman.
|
||||
Added updated Russian language pack, contributed by Vladimir Vitkovsky.
|
||||
Added updated Finnish language pack, contributed by Tuomo Aura.
|
||||
Added updated Spanish language pack, contributed by Adolfo Sanz De Diego.
|
||||
Added updated Italian language pack, contributed by grueff.
|
||||
Added updated Icelandic language pack, contributed by Johannes Birgir Jensson.
|
||||
Removed option convert_fonts_to_styles due to various compatiblity issues. Use convert_fonts_to_spans instead.
|
||||
Version 2.0RC3 (2005-09-26)
|
||||
Fixed bug where colorpicker in table plugin wasn't working in Mozilla/Firefox.
|
||||
Fixed bug where closed anchors produced strange results. Anchors are now forced open.
|
||||
Fixed bug where the font style/color functions wasn't producing correct results.
|
||||
Fixed bug where buttons not working if a target was defined in head element.
|
||||
Fixed bug where paragraphs wasn't generated when pressing return/enter in a floating div.
|
||||
Fixed bug where anchor contents was getting lost, contents of anchors are now placed behind them.
|
||||
Fixed bug where style info such font size/face/color was removing parent elements such as LI.
|
||||
Fixed bug where %I wasn't inserting correct hour in the insertdatetime plugin.
|
||||
Fixed bug where MSIE sometimes doesn't output attributes correctly, contributed by Luke Bennett.
|
||||
Fixed bug where images was lost if the user pressed return after a image in a TD on FF.
|
||||
Fixed bug where empty non block elements where produced when hitting return in Gecko browsers.
|
||||
Fixed bug where it was impossible to update tables.
|
||||
Fixed various bugs and issues with removeformatting function it will now remove classes and styles.
|
||||
Fixed compatiblity issues with prototype.js and other scripts that modifies the Object.prototype.
|
||||
Fixed issue where a unnecessary dir and style attribute was generated on the blockquote command in MSIE.
|
||||
Fixed issue with access denied error if page contained iframes with external URLs.
|
||||
Fixed issue where the plugin links in about dialog was linking to blank.
|
||||
Fixed issue with useCSS command not working in Deer park beta.
|
||||
Fixed XHTML table compatiblity issues. Placed bordercolor and height in styles instead of attributes.
|
||||
Fixed issue with tables getting empty summary attribute in MSIE.
|
||||
Fixes so the insert custom character dialog is accessible through keyboard.
|
||||
Removed _self as the default target for links inorder to produce more XHTML compliant code.
|
||||
Removed bordercolor field from table row properties dialog since this is not a valid attribute.
|
||||
Added accessibility warnings to image and table plugin. These can be disabled by the accessibility_warnings option.
|
||||
Added updated Danish language pack, contributed by Jan Moelgaard.
|
||||
Added updated Hebrew language pack, contributed by Liron Newman.
|
||||
Added updated Norwegian language pack, contributed by Knut B. Jacobsen.
|
||||
Added updated German language pack, contributed by salzbermat.
|
||||
Version 2.0RC2 (2005-09-12)
|
||||
Fixed bug with plugin tab in about dialog not working in MSIE 5.01.
|
||||
Fixed bug issues with paste and noneditable plugin in MSIE 5.01.
|
||||
Fixed bug where dialogs in the search/replace plugin was to small.
|
||||
Fixed bug where about dialog sometimes produced unknown runtime error in MSIE.
|
||||
Fixed bug where é and í characters was converted the wrong entities.
|
||||
Fixed bug where it was possible to click on the disabled link icon when nothing was selected.
|
||||
Fixed bug where autosave plugin wasn't working with JS submit calls or the save plugin.
|
||||
Fixed bug where file/image browser wasn't working with the default link/image dialogs.
|
||||
Fixed bug where style attributes where parsed/serialized incorrectly when using - and #.
|
||||
Fixed bug where inline popups plugin wasn't working when loading the compressed JS files.
|
||||
Fixed bug with contextmenu showing theme image dialog instead of advimage dialog.
|
||||
Fixed bug with flash plugin trying to include a empty external list JS file.
|
||||
Fixed bug with some fields beeing to short if the file browser was disabled.
|
||||
Fixed bug where contextmenu wasn't recognizing flash elements.
|
||||
Fixed bug where border styles on images and tables was removed.
|
||||
Fixed accessibility issue with colorpicker, added titles and keyboard access.
|
||||
Fixed accessibility issue with toolbar buttons, all toolbar buttons are now wrapped in links.
|
||||
Fixed accessibility issue width browse buttons, these are now wrapped in links.
|
||||
Fixed accessibility issue with select lists, all select lists has now keyboard access.
|
||||
Fixed accessibility issues with missing labels in various dialogs.
|
||||
Fixed accessibility issue with the emotions plugin, this one now inserts a alt text for smileys.
|
||||
Fixed accessibility issue with the locationbar, menubar and so fort in advlink plugin.
|
||||
Fixed accessibility issue with TOC in english help pages. This is not wrapped in a acronym element.
|
||||
Fixed issue with the directionality plugin. It will now get disabled on invalid elements.
|
||||
Fixed issue where popups was the wrong size a new resizeToInnerSize function resizes popups to the correct size.
|
||||
Fixed so empty <a> elements gets removed since they serve no purpose.
|
||||
Added support for TinyMCE grabbing text from input elements if specified in exact mode.
|
||||
Added language specific relative popup width/heights to all build in dialogs.
|
||||
Added missing browser for popup url in advlink plugin.
|
||||
Added missing delete table icon to context menu.
|
||||
Added so it's possible to see the target value in the target select dropdown in the advlink plugin.
|
||||
Updated the documentation to include information about the new language packs.
|
||||
Updated the swedish language pack.
|
||||
Version 2.0RC1 (2005-09-06)
|
||||
Renamed CSS classes mcePathTop,mcePathBottom,mcePath to mceStatusbarTop,mceStatusbarBottom,mceStatusbar. [BREAKS COMPATIBLITY].
|
||||
Moved all theme CSS files to a css directory within the theme. [BREAKS COMPATIBLITY].
|
||||
Removed the default theme since the advanced theme can be configured to be as the default theme. [BREAKS COMPATIBLITY].
|
||||
Removed closeDialog method from TinyMCE use tinyMCEPopup.close(); instead of tinyMCE.closeDialog();. [BREAKS COMPATIBLITY].
|
||||
Removed the auto_cleanup_word option, since the paste plugin now handles this better than the build in function.
|
||||
Added improved undo/redo and onchange handling. All modifications are now undo/redo:able.
|
||||
Added new mceBeginUndoLevel/mceEndUndoLevel commands. Used to begin/end a undo/redo:able action.
|
||||
Added new link dialog with tab interface and lots of new fields and options.
|
||||
Added new image dialog with tab interface and lots of new fields and options.
|
||||
Added new about dialog with tab interface, this one replaces the old help dialog.
|
||||
Added new table dialogs with tab interface and lots of new fileds and options.
|
||||
Added new utils directory in tiny_mce script dir. This directory contains various utility classes.
|
||||
Added new TinyMCEPopup class to tiny_mce_popup.js, used for common popup logic.
|
||||
Added new inlinepopups plugin, this makes the popup windows to open as DHTML windows (divs).
|
||||
Added new version info constants to TinyMCE (majorVersion, minorVersion, releaseDate).
|
||||
Added new resizing functionality to the advanced theme, the editor instance can now be resized.
|
||||
Added new theme_advanced_resizing option, enables/disables the new resizing functionality.
|
||||
Added new theme_advanced_resize_horizontal option, enables/disables the horizontal resizing.
|
||||
Added new theme_advanced_path option, enables/disables the element path functionality in statusbar.
|
||||
Added new compressed icons about 1/3 of the original size, contributed by Jozef.
|
||||
Added new center support of images, images are now wrapped in a div with alignment.
|
||||
Added new - character to the valid_elements/extended_valid_elements options this feature removes empty elements.
|
||||
Added new setup_content_dom and submit_content types to custom cleanup callbacks.
|
||||
Added new inst parameter to custom cleanup callbacks, this is a reference to the editor instance.
|
||||
Added new mceColorPicker command to the advanced theme, enables the possibility invoke the color picker.
|
||||
Added new safari_warning option, this enables you to disable the alert that gets presented when running on Safari.
|
||||
Added new editor_selector/editor_deselector options that enables you to specify a include/exclude from convertion class.
|
||||
Added new tinyMCE.addToLang function to reduce the overall size of the language files.
|
||||
Added new auto save plugin. This plugin will confirm that the user want's the leave any modifications unsaved.
|
||||
Added new noneditable plugin. This plugin enables you to disable/enable the possibility to edit various elements.
|
||||
Added new word example, to better illustrate how TinyMCE is to be used when pasting content from Office/Word.
|
||||
Added missing entities eactute,iacute,oacute,uacute,Aacute,Eacute,Iacute,Oacute,Uacute,Yacute,Aacute.
|
||||
Added updated Hebrew language pack contributed by Liron Newman.
|
||||
Added visual aid icon for invisible anchors elements.
|
||||
Added new insert table and delete table commands to context menu.
|
||||
Added new convert_fonts_to_styles option, this option controls if font or span will be used when using font size, color etc.
|
||||
Renamed the theme_advanced_path_location to theme_advanced_statusbar_location.
|
||||
Moved all popup javascript logic into external .js files, inorder to separate presentation and logic.
|
||||
Removed the automatic resizing of popups. Better to use relative window sizes for each language when opening a dialog.
|
||||
Fixed issue where the character map dialog lost focus when inserting a char.
|
||||
Fixed issue where the attribute values where not XML encoded correctly. For example: & will be &.
|
||||
Fixed performance issue with the table plugin, it was executing logic even when it was inactive.
|
||||
Fixed so the directionality gets inherited by all popups/dialogs.
|
||||
Fixed so the CSS file content_css loads after the theme content CSS, user specific CSS extends theme CSS.
|
||||
Fixed so more than 3 toolbar rows may be added in when using the default simple layout.
|
||||
Fixed so the insertdatetime plugin polls it's default date formats from the language pack.
|
||||
Fixes so auto_reset_designmode is enabled by default, to avoid the question about the editor not working in tabs.
|
||||
Fixed better inline styles support for images and tables.
|
||||
Fixed duplicate IDs on advanced theme with external toolbar, contributed by Miguel Fortea.
|
||||
Fixed issue with remove formatting under MSIE, if all contents of a element is selected the element is also selected.
|
||||
Fixed issue with visual aids not being removed from content when cleanup is disabled. But it's NOT recommended to disable the cleanup.
|
||||
Fixed bug where return/enter key sometimes produced empty elements in MSIE.
|
||||
Fixed bug where link list was generated twice in the advanced themes link dialog.
|
||||
Fixed bug issue where embed was converted in to ibed due to some invalid regexps.
|
||||
Fixed bug where summary attribute on tables got lost in MSIE.
|
||||
Fixed bug where the editor scrolled to the top of content when the pasting text with the paste plugin.
|
||||
Fixed bug where external toolbar wasn't translated, contributed by Miguel Fortea.
|
||||
Fixed bug where the editor had a incorrect height, contributed by Miguel Fortea.
|
||||
Fixed bug where visual aid class where presented in element path.
|
||||
Fixed bug where HR elements with a id set to "null" produced runtime error in MSIE.
|
||||
Fixed bug where isDirty wasn't working due to the same function name and variable name.
|
||||
Fixed bug where events like onclick wasn't removed/stored correctly in old MSIE.
|
||||
Version 1.45 (2005-06-23)
|
||||
Fixed so the newdocument button shows again, was removed by accident in RC2.
|
||||
Fixed so styles drop down in link dialog gets hidden if no classes are defined.
|
||||
Fixed bug where Paste command in context menu wasn't working.
|
||||
Fixed bug issue with not having a base href element in preview plugin.
|
||||
Fixed bug where input elements produced double type/value attributes in MSIE.
|
||||
Fixed so the check for empty contents in cleanup handled uppercase elements.
|
||||
Added a alert box is a popup is blocked by a popup blocker.
|
||||
Added updated dutch language pack, contributed by Fred Stuurman.
|
||||
Added a confirm dialog for the newdocument action.
|
||||
Added mceContentBody class to the iframe document body.
|
||||
Added allowtransparency attribute to iframe.
|
||||
Added fix where some HTML content produced runtime error in MSIE.
|
||||
Added a lot better Safari support, but many things are still very buggy.
|
||||
Added flash_wmode, flash_quality and flash_menu options for the flash plugin.
|
||||
Added new dialog_type option, this enables you to switch back to modal dialogs in MSIE.
|
||||
Updated Canadian French table language pack contributed by Virtuelcom.
|
||||
Fixed some minor issues with Simplified Chinese language pack.
|
||||
Re-added Tahoma font to font drop list, was removed in previous version.
|
||||
Version 1.45 RC2 (2005-06-15)
|
||||
Fixed bug where paste_use_dialog option for the paste plugin wasn't working correctly.
|
||||
Fixed bug issue with setContent not calling custom cleanups correctly. Inflicts the Flash plugin.
|
||||
Fixed bug where external_link_list_url/external_image_list_url in fullscreen mode.
|
||||
Fixed so TinyMCE doesn't use modal dialogs on MSIE, these where giving some problems with for example lost sessions.
|
||||
Fixed the auto resize function for popups to use new logic.
|
||||
Fixed so callback functions gets called correctly from fullscreen mode.
|
||||
Fixed misspelled language pack for canadian french in the advimage plugin.
|
||||
Fixed so openWindow can open use absolute URL:s.
|
||||
Fixed bug issue where auto_cleanup_word sometimes didn't work in MSIE.
|
||||
Fixed bug issue where the close button in dialogs wasn't available on Firefox on MacOSX.
|
||||
Added new pastetext icon contributed by speednet.
|
||||
Added new browsers option that enables you to specify what browsers is to be WYSIWYG enabled or not.
|
||||
Added partial Catalan translation contributed by Marc Bria Ramírez.
|
||||
Added portuguese Brazil translation contributed by João Borges.
|
||||
Added updated Simplified Chinese language pack contributed by cube316.
|
||||
Added beforeunload handler for fullscreen plugin so contents gets updated when the window is closed.
|
||||
Added a new fullscreen_settings option for the fullscreen plugin contributed by David Glick.
|
||||
Added new insert table command to context menu when user clicks within a table.
|
||||
Added new advimage_constrain_proportions option to advimage plugin, contributed by Knut B. Jacobsen.
|
||||
Added updated advanced theme with a new external toolbar location option, contributed by Man-Chicken (http://www.zoomshare.com/).
|
||||
Added new tiny_mce_gzip.php file, this PHP script merges and compressed the requested .js files to improve loading times.
|
||||
Added updated czech language pack, contributed by Stanislav Lacko.
|
||||
Added new mceRemoveNode command, this command removes a node and inserts the node contents instead.
|
||||
Added new behavior to format select box, you can now remove a paragraph by selecting -- Format --.
|
||||
Removed ?rnd from external_link_list_url/external_image_list_url since it doesn't work well with serverside scripts.
|
||||
Version 1.45 RC1 (2005-05-27)
|
||||
Fixed bug where character map inserted & and </> when using & < >.
|
||||
Fixed so paragraphs containing is converted to numeric or raw if entity_encoding is set.
|
||||
Fixed bug in searchreplace plugin when user tried to search on a empty string or the editor contents was empty.
|
||||
Fixed repaint/trail graphics issues with images and tables in FF/Mozilla.
|
||||
Fixed some memory leaks in TinyMCE core and context menu plugin, only MSIE was inflicted by this.
|
||||
Fixed stange issue where elements sometimes disappeared in MSIE.
|
||||
Fixed URL convertion problems with onmouseover, onmouseout image urls in advimage plugin.
|
||||
Fixed URL convertion problems with Flash plugin.
|
||||
Fixed the experimental Safari support, some features work some doesn't.
|
||||
Fixed bug where multiple a elements where created when updating links on images in FF/Mozilla.
|
||||
Fixed bug in importCSS function, was having a meaning less if statement.
|
||||
Fixed so the contextmenu plugin uses images from the configurated theme instead of the advanced theme.
|
||||
Fixed so the external_link_list_url/external_image_list_url options can use relative or absolute path.
|
||||
Fixed so the external_link_list_url/external_image_list_url has a random query parameter to prevent it from cache.
|
||||
Added new mceInsertRawHTML command, this inserts raw as it is HTML code in the the selected position.
|
||||
Added paste plain text plugin contributed by Ryan Demmer, converted it into a paste plugin.
|
||||
Added updated paste plugin contributed by speednet, includes paste directly feature for MSIE.
|
||||
Added split/merge table cells support, to table plugin and context menus.
|
||||
Added cut/copy/paste table rows functionality to context menu and table plugin.
|
||||
Added new mceSetContent command, this does the same as the setContent function.
|
||||
Added new clear all/new document icon to advanced theme.
|
||||
Added new remove formatting and select text color icons.
|
||||
Added new directionality plugin to better support languages that write from right to left.
|
||||
Added new fullscreen plugin, enables users to toggle fullscreen editing mode.
|
||||
Added a new template/tutorial plugin to aid people in the development of own plugins.
|
||||
Removed visual_table_style and replaced it with visual_table_class. [BREAKS COMPATIBLITY].
|
||||
Renamed urlconvertor_callback option to urlconverter_callback.
|
||||
Version 1.44 (2005-05-03)
|
||||
Fixed bug with contextmenu not showing at the correct location in MSIE.
|
||||
Fixed bug where a error was produced by the Flash plugin if the user reloaded the page in MSIE.
|
||||
Fixed issue where mceAddControl and mceRemoveControl commands produced a error in MSIE.
|
||||
Fixed bug when images and flash movies where mixed in the editor produced strange results.
|
||||
Fixed so trailing / characters isn't removed from URLs.
|
||||
Fixed so the contextmenu uses a diffrent method of loading it's custom CSS file.
|
||||
Fixed getAttributes problem, it should read getAttribute.
|
||||
Fixed so "Edit HTML source" window may be maximized.
|
||||
Added French eacute entitiy to default entities option.
|
||||
Added a height CSS value for the element path in advanced themes editor_ui.css since it keept bobbing up and down.
|
||||
Added updated Polish language pack contributed by Marcin Szymon Sznyra.
|
||||
Added better window auto resize method for most dialogs.
|
||||
Added new feature to set what tags are to be left open in valid_elements. Add a + before the element names to enable.
|
||||
Added nowrap for the editor table cells, sometimes the editors controls wrapped.
|
||||
Updated German language pack contributed by Krokogras.
|
||||
Version 1.44 RC2 (2005-04-25)
|
||||
Fixed bug with host prefixes and port numbers when having relative_urls set to false and remove_script_host set to true.
|
||||
Fixed bug when site absolute URLs for example /something was converted incorrectly in Firefox/Mozilla.
|
||||
Fixed bug where the link wasn't auto selected in the drop list in the advanced themes default link dialog.
|
||||
Fixed bug issue with the flash plugin and croping out characters before and after the movie.
|
||||
Fixed bug where the editor jumped to top of editor area on enter/return when doctype was set to XML Transitional.
|
||||
Fixed bug where context menu was appearing in the wrong location if the window was resized.
|
||||
Fixed bug in the context menu where table properties wasn't working.
|
||||
Fixed bug where a selectorText exception was trown if the CSS file contained @import or @charset.
|
||||
Fixed bug where bold/italic/strikethough/underline wasn't selected/unselected in toolbar some times.
|
||||
Fixed issue with hspace and vspace when having the inline_styles option enabled. Contributed by speednet.
|
||||
Fixed bug where access denied error was thrown sometimes in MSIE.
|
||||
Fixed so images without src won't be inserted.
|
||||
Fixed some issues with width/height fields in the advimage plugin.
|
||||
Fixed so the contextmenu plugin doesn't appear in MSIE 5.0, now functions with 5.5+.
|
||||
Added filebrowser icon to mouse over and mouse out fields in the advimage plugin.
|
||||
Added filebrowser icon to popup field in the advlink plugin.
|
||||
Added so the triggerSave function gets auto executed when a user calls submit on a form, this can be disabled with the submit_patch option.
|
||||
Added missing readme.txt file for the context menu plugin.
|
||||
Added new border and background color fields to table dialog, based on contribution by Neirda. Enable them by the table_color_fields option.
|
||||
Removed some old outdated items from FAQ.
|
||||
Version 1.44 RC1 (2005-04-20)
|
||||
Fixed bug where width/height attributes of a image wasn't stored some times in Firefox/Mozilla.
|
||||
Fixed bug where P elements where created if a user pressed return/enter within a h1-h6 in Firefox/Mozilla.
|
||||
Fixed bug where the remove format fuction didn't work some times in MSIE.
|
||||
Fixed so backspace/delete gets added in one undo level in MSIE (improves performance).
|
||||
Fixed so the "Could not find element by id or name" alert only shows when the debug option is set to true.
|
||||
Fixed bug where bold/italic didn't work in Mozilla 1.3.
|
||||
Fixed bug where width/height of a hidden TinyMCE instance where incorrect.
|
||||
Fixed so the function layout of classes in tiny_mce_src.js uses prototype keyword instead of TinyMCE_ prefix (reduces size).
|
||||
Fixed bug where triggerNodeChange produced javascript error some times in MSIE.
|
||||
Fixed some issues in the Swedish and Spanish language packs.
|
||||
Fixed bug where first undo level wasn't working correctly.
|
||||
Fixed so flash plugin loads it's needed CSS data from within the plugin.
|
||||
Fixed button images and CSS in the simple theme.
|
||||
Fixed so the simple example shows how to use the simple theme instead of the default theme.
|
||||
Fixed so cleanup default values can be set to empty. For example alt= generated alt="" on img elements.
|
||||
Fixed memory leaks in MSIE (circular closure problem) events are now removed in a better way.
|
||||
Fixed bug where URLs where converted incorrectly if the editor page URL contained / characters.
|
||||
Fixed bug where table guidlines didn't work correctly when using the build in Mozilla table buttons.
|
||||
Fixed bug where the Flash plugin was breaking other elements.
|
||||
Added new contextmenu plugin, this plugin adds a menu if the user right clicks/uses the contextmenu on elements.
|
||||
Added new multiple configuration support, the init method may now be called multiple times.
|
||||
Added new remove_linebreaks option, this option is enabled by default and removes all HTML code linebreaks.
|
||||
Added new behavior to the textarea_trigger option, if mode is textareas and trigger is false those elements will not be converted into editors.
|
||||
Added new entity_encoding option, enabled user to better control the behavior of how character are converted into entities.
|
||||
Added new isDirty command to TinyMCEControl, this method returns true if the user has done any modifications to the content.
|
||||
Added new onchange_callback option, this callback is executed when contents within the editor instance is changed.
|
||||
Added new init function for themes/plugins this gets called when a editor instance has finished it's setup.
|
||||
Added new init_instance_callback option this callback is executed when instances are added to the editor.
|
||||
Added new cleanup option this option enables users to totaly disable the whole cleanup process.
|
||||
Added new importCSS method to TinyMCE. This method allows plugins and themes to load custom CSS files on initialization.
|
||||
Added new getSelectedHTML method to TinyMCEControl class, this method returns the currently selected HTML contents.
|
||||
Added new getSelectedText method to TinyMCEControl class, this method returns the currently selected contents as text.
|
||||
Added new removeclass behavior to the removeformat button. The current class will be removed if no contents is selected.
|
||||
Added new queryInstanceCommandValue and queryInstanceCommandState methods.
|
||||
Added new option button_tile_map, this option contols the usage of button tile maps and is disabled by default.
|
||||
Version 1.43 (2005-03-06)
|
||||
Fixed bug with ask option not working at all.
|
||||
Fixed bug where a "instance is not defined bug" error was produced.
|
||||
Fixed bug with empty image src produced a error.
|
||||
Fixed so the simple and default theme used the same CSS style as the advanced theme.
|
||||
Fixed bug with the relative to absolute URL convertion logic if a empty string was passed used.
|
||||
Fixed parse error bug with the source editor some servers can't handle XML PI declarations.
|
||||
Fixed bug issue with HR elements in MSIE, if a specific work pattern where used a runtime error was produced by MSIE.
|
||||
Fixed bug in the URL convertor logic, port numbers was not correctly handled.
|
||||
Fixed issue where the cursor was placed before a insert of custom charater or date/time.
|
||||
Fixed bug where the editor height option didn't work on MSIE.
|
||||
Fixed bug where a linefeed within a table cell broke the table in Firefox/Mozilla.
|
||||
Fixed bug where return/enter key after a image removed all content.
|
||||
Fixed bug where return/enter key sometimes produced nestled P elements.
|
||||
Fixed bug where the editor was stealing focus on load in MSIE.
|
||||
Fixed bug where the visual aid logic forces width/height attributes on tables.
|
||||
Fixed bug where getCSSClasses some times returned null value.
|
||||
Fixed issue where the lang_insert/lang_update language variables wasn't entity decoded.
|
||||
Fixed so the image/link/flash drop list gets auto selected thanks goes to Randy Simons and salzbermat.
|
||||
Fixed so remove formatting button in MSIE removes all classes aswell.
|
||||
Fixed issue where output contained single br element when the editor area was empty.
|
||||
Added new %A/%a/%B/%b format chunks to insertdatetime, these insert localized date names such as January.
|
||||
Added new oninit callback option for TinyMCE this callback is executed when all editor instances been initialized.
|
||||
Added new preview panel to dialog in the advimage plugin, contributed by Virtuelcom.
|
||||
Added element class name to element path in the advanced theme.
|
||||
Updated Canadian French table language pack contributed by Virtuelcom.
|
||||
Updated the swedish language pack, contributed by Mats Löfström, York Consulting AB.
|
||||
Version 1.42 (2005-02-14)
|
||||
Fixed bug with the element path beeing resized if width/height of editor was 100%.
|
||||
Fixed bug with reloading/flicker of all button images in MSIE if browser cache is disabled.
|
||||
Fixed backspace/delete bug in Firefox, some times the cursor got stuck.
|
||||
Fixed bug issues with enter/return key in Firefox/Mozilla.
|
||||
Fixed bug where copy/paste and drag drop of images/links failed in Firefox/Mozilla if a document_base_url is provided.
|
||||
Fixed so when relative_urls is set to false it forces absolute URLs for images/links.
|
||||
Fixed so the _src.js suffix versions of the themes and plugins gets loaded with the tiny_mce_src.js script is used.
|
||||
Fixed so verify_css_classes option is disabled by default.
|
||||
Fixed bug where tables where resized when toggling visual aid in Firefox/Mozilla.
|
||||
Fixed bugs with advhr plugin running in a hidden div element.
|
||||
Added new auto_focus option that enabled a specific editor area to be focused on startup.
|
||||
Added a extra argument to the filebrowser callback inorder to get the calling window reference.
|
||||
Added a new persian (farsi) language pack contributed by Morteza Zafari.
|
||||
Added new more nice looking icons contributed by Morteza Zafari and Michael Keck. The old icons are available in a separate icon pack.
|
||||
Added updated Canadian French language pack contributed by Virtuelcom.
|
||||
Added updated French languahe pack contributed by Laurent Dran.
|
||||
Added updated German language pack contributed by Tobias Heer.
|
||||
Added some documentation regarding the layout manager options made by SlyD.
|
||||
Version 1.41 (2005-01-31)
|
||||
Added new table plugin, all table code is moved into this plugin [BREAKS COMPATIBLITY].
|
||||
Added new external_link_list_url/external_image_list_url options for better backend integration.
|
||||
Added new file_browser_callback option for better backend integration.
|
||||
Added new layout manager code into the advanced theme, contributed by SlyD.
|
||||
Added new nowrap option, enables so users may change the word wraping behavior.
|
||||
Added new Thai language pack contributed by Innozent.
|
||||
Added obfuscated version of all plugins and themes to reduce over all startup/download time.
|
||||
Added Simplified Chinese language pack contributed by cube316.
|
||||
Added a updated Czech language pack thanks to Josef Klimosz.
|
||||
Fixed issue where anchor elements where closed. This results in browser problems with the outputed HTML.
|
||||
Fixed bug where the first return key press didn't produce a paragraph in Firefox/Mozilla.
|
||||
Fixed bug in the searchreplace plugin where replace content sometimes fails in Firefox/Mozilla.
|
||||
Fixed so all language packs now uses the ISO-639-2 code instead of ISO 3166-1 [BREAKS COMPATIBLITY].
|
||||
Fixed some issues with the force_br_newlines option in MSIE.
|
||||
Fixed bug where the backspace or delete key produced BR elements in Firefox/Mozilla.
|
||||
Fixed bug issue with link and image dialogs of the default theme/simple example.
|
||||
Fixed some bugs when having the editor hidden in a tab/div, contributed by Ernst de Moor.
|
||||
Fixed some character issues with the Danish language packs, contributed by someone unknown.
|
||||
Version 1.40 (2005-01-09)
|
||||
Added a new default value for the font size drop down, if no font size where found this gets selected.
|
||||
Added a auto resize window feature, this is enabled by default but can be disabled with a window argument.
|
||||
Added a new print plugin, prints the current editor contents to a printer.
|
||||
Added a new searchreplace plugin, adds a search, searchnext and replace button.
|
||||
Fixed bug issue where buttons didn't display correctly on some Firefox installations.
|
||||
Fixed issue with value and type attributes of input elements getting lost in cleanup on MSIE.
|
||||
Fixed so that the getEditorInstance command is public, returns a TinyMCEControl by id.
|
||||
Fixed issue where "true" and "false" string wasn't treated as booleans in TinyMCE init options.
|
||||
Fixed so cursor/mousepointer allways remains a arrow in all themes when rolling over buttons.
|
||||
Fixed the popup windows so they are mode "modal" in Mozilla/Firefox.
|
||||
Fixed so the ask question is displayed when elements are focused with the tab key.
|
||||
Fixed so the ask option works when mode option is set to exact.
|
||||
Fixed issue with visualaids on tables not working correctly when the user uses the tab key in Firefox/Mozilla.
|
||||
Fixed some bugs with the mceSetCSSClass class command and the element path.
|
||||
Fixed a new version of the mceInsertContent command.
|
||||
Fixed so the auto_cleanup_word option is disabled by default.
|
||||
Removed the langs of the zoom plugin, it now uses + instead of the "zoom" word.
|
||||
Version 1.391 (2005-01-04)
|
||||
Fixed major spacebar bug in MSIE, spacebar was disabled.
|
||||
Version 1.39 (2005-01-04)
|
||||
Updated the Flash plugin with a new version, contributed by jamesw.
|
||||
Added new setWindowArg function, useful if plugins are to call other plugins.
|
||||
Added new save plugin, this plugin adds a save/submit form button to tinyMCE, contributed by SlyD.
|
||||
Added new hilite color support, sets a background-color style on the selected text.
|
||||
Added new variable replacement popup URLs, check the openWindow function documentation for details.
|
||||
Added new force_p_newlines option, forces P elements on return/enter key in Mozilla/Firefox.
|
||||
Added new theme_advanced_path_location, adds a element path list.
|
||||
Added new theme_advanced_toolbar_align option, defaults to center.
|
||||
Added new Portuguese translation contributed by José Pedro Pereira.
|
||||
Added new mceSelectNode and mceSelectNodeDepth commands.
|
||||
Added new add_unload_trigger option, this adds a unload triggerSave call. Enabled by default.
|
||||
Added am/pm time format to the insertdatetime plugin.
|
||||
Fixed font color and size attribute bug, contributed by Vincent FIACK.
|
||||
Fixed className undefined bug, Firefox/Mozilla produced a console error sometimes.
|
||||
Fixed so mceSetCSSClass command may be applied to all sorts of elements.
|
||||
Fixed so anchor elements can be removed by setting the anchor name to nothing.
|
||||
Fixed typing performance some in Firefox/Mozilla, removed some nodechange triggers.
|
||||
Fixed so the zoom plugin is invisible in MSIE 5.0, since zoom isn't available in that browser.
|
||||
Fixed bug with the emotions plugin in MSIE 5.0, it was opening a new window.
|
||||
Fixed so contents stay within the editor if the user hits the back/forward buttons.
|
||||
Fixed bug where the window.name property was set to the image name.
|
||||
Fixed so anchors links within the same page are made relative when relative_urls are set to false.
|
||||
Updated the advanced theme so most of the images are loaded from a tiled image, improves loading time.
|
||||
Updated the Swedish language pack, contributed by Martin.
|
||||
Updated the readme.txt in the advlink plugin, was some problems with the valid_elements.
|
||||
Updated the default CSS for the advanced theme some, added button backgrounds to look like office2k.
|
||||
Version 1.38 (2004-11-28)
|
||||
Added new textarea field for form elements when debug mode is enabled, contributed by Michael Keck.
|
||||
Added new spacer item support for the theme_advanced_buttons<n> options, contributed by Michael Keck.
|
||||
Added new selection borders for images and hr elements, contributed by Michael Keck.
|
||||
Added new advhr plugin, this plugin handles advanced settings on HR elements, contributed by Michael Keck.
|
||||
Added new german language pack for the preview plugin, contributed by Michael Keck.
|
||||
Added new word wrap and source formatting to the source editor, contributed by Michael Keck.
|
||||
Added new updated charmap, contributed by Michael Keck.
|
||||
Added new flash plugin that enabled flash movied to be handled, contributed by Michael Keck.
|
||||
Added the old cut/copy/paste commands to the advanced theme, these are not visible by default.
|
||||
Added new theme_advanced_buttons<N>_add_before option to advanced theme.
|
||||
Added new "update" button title for a popup windows.
|
||||
Added new zoom prefix language variable to the zoom plugin.
|
||||
Added new entities option, that enables you to config entity code to name convertion.
|
||||
Added new custom cleanup possibility to plugins.
|
||||
Added new cleanup_callback option, adds the possibilty to add custom cleanup logic.
|
||||
Added new Norwegian language pack, contributed by Sten Aksel Heien.
|
||||
Added new Korean language pack, contributed by Setzer Gabbiani.
|
||||
Fixed the layout of the color picker, contributed by Michael Keck.
|
||||
Fixed so the preview plugin doesn't include the any toolsbars in preview popup window, contributed by Michael Keck.
|
||||
Fixed bug where anchors elements was treated as links.
|
||||
Fixed so all popup windows are modal dialogs in MSIE.
|
||||
Fixed bug where the word "null" sometimes appares in HTML after cleanup in Firefox/Mozilla.
|
||||
Fixed bug where form elements with missing name attributes produced errors.
|
||||
Fixed some default value bugs and issues with the new advlink plugin.
|
||||
Fixed the link/image dialog sizes in the SE language pack.
|
||||
Fixed the content duplication bug, it seems to be fixed anyway, if not please let me know.
|
||||
Fixed bug where plugin handleNodeChange extentions broke the theme function.
|
||||
Version 1.37 (2004-11-12)
|
||||
Added new mceResetDesignMode command that can be used when the editor is placed in tabs.
|
||||
Added new updated Italian language pack thanks goes to "Fabrix Xm" for the contribtion.
|
||||
Added new greek language pack thanks goes to "Jacaranda Bill" for the contribution.
|
||||
Added new french language pack thanks goes to "Pat Boens" for the contribution.
|
||||
Added new russian language pack thanks goes to "Roman Filippov" for the contribution.
|
||||
Added new updated Dutch language pack thanks goes to Arnoud van Delden and Ernst de Moor for the contribution.
|
||||
Added new convert_newlines_to_brs option, that enables newlines to be converted to br elements.
|
||||
Added new custom_undo_redo_keyboard_shortcuts option, enables keyboard shortcuts to be enabled/disabled.
|
||||
Added new auto_reset_designmode option, thats resets the design mode when a editor instance is focused.
|
||||
Added new form reset handler, resets the contents of TinyMCE areas when the onreset event is trigged.
|
||||
Added new skip_cleanup parameter to triggerSave, this parameter is optional and defaults to false.
|
||||
Added new lang_underline_img language variable to all themes.
|
||||
Added new title attribute to all images, enables tooltips in Mozilla and Firefox.
|
||||
Added new insert and cancel CSS id's for all submit and cancel buttons.
|
||||
Added new full featured example that includes all available plugins and buttons.
|
||||
Added new advlink and advimage plugins to TinyMCE, these are more advanced link and image tools. Contributed by Michael Keck.
|
||||
Added new parameters to insertImage and insertLink commands. Contributed by Michael Keck.
|
||||
Added updated compatiblity chart, includes a matrix table thanks goes to Ernst de Moor.
|
||||
Added new insert image icon contributed by Arnoud van Delden and Ernst de Moor.
|
||||
Added window focus on all popup windows, contributed by Arnoud van Delden and Ernst de Moor.
|
||||
Fixed some issues with the char map added some characters and removed duplicate ones, contributed by Arnoud van Delden and Ernst de Moor.
|
||||
Fixed the insert row icon, rotated it 180 degrees, contributed by Arnoud van Delden and Ernst de Moor.
|
||||
Fixed the visual aid icon, made it a bit darker. Contributed by Arnoud van Delden and Ernst de Moor.
|
||||
Fixed some issues with entity encoding in source editor aswell as in core cleanup code.
|
||||
Fixed bug where the auto import CSS feature imported invalid CSS rules with : or spaces.
|
||||
Fixed bug where unnecessary entity encoding of characters was done.
|
||||
Fixed the window sizes some to better function on MSIE with SP2.
|
||||
Fixed some issued with the auto word cleanup feature, fixes some issued with content duplication.
|
||||
Fixed bug that made the editor to throw weird error when HTML code includes <!a or <!/a> content.
|
||||
Fixed bug where the style attribute was returned on images in source output even if it was disabled.
|
||||
Fixed issue where the UI form elements of TinyMCE was submitted with the form submit.
|
||||
Version 1.36 (2004-10-19)
|
||||
Added a newly modified version of the German language pack from "krokogras".
|
||||
Added auto resizing to popup windows with the same name.
|
||||
Added example page for the plugin_preview_pageurl option in the preview plugin.
|
||||
Fixed issue with link button auto enable/disable feature when content selection was made with the keyboard.
|
||||
Fixed bug where events wasn't handled correctly in MSIE 5.5 and some 6.0 versions.
|
||||
Fixed so align on images gets set as float style when the inline_styles option is enabled.
|
||||
Fixed so solid border style isn't applied on elements with a border when the inline_styles option is enabled.
|
||||
Fixed some issues with tables and the inline_styles option.
|
||||
Fixed back button issue with MSIE, iframes was placed in browser history.
|
||||
Version 1.35 (2004-10-13)
|
||||
Added so that whitespace gets stripped in plugin and theme_advanced_buttons options.
|
||||
Added custom plugin_preview_pageurl option to preview plugin.
|
||||
Added Canadian French language packs for the new plugins, contributed by Virtuelcom.
|
||||
Added new theme_advanced_blockformats option.
|
||||
Added new title support to advanced theme link dialog.
|
||||
Added new Ctrl+B/I/U keyboard shortcuts for Firefox.
|
||||
Added Polish language pack contributed by "revyag".
|
||||
Added Taiwanese language pack contributed by "Jim Kou".
|
||||
Added updated German language pack contributed by "Krokogras".
|
||||
Fixed some issues with ieSpell including better language support.
|
||||
Fixed bug with default value in valid_elements not working in Firefox some times.
|
||||
Fixed bug when focusing links without selecting any characters.
|
||||
Fixed some typos in Swedish language pack.
|
||||
Fixed bug with content selection and link button auto enable/disable feature.
|
||||
Fixed bug issue when "theme_advanced_buttons<N>" options where left empty.
|
||||
Fixed various bugs with absolute URLs.
|
||||
Version 1.34 (2004-10-03)
|
||||
Added new insertdatetime plugin, inserts date/time in various formats.
|
||||
Added new preview plugin, previews the HTML page in a new window.
|
||||
Added new zoom plugin, adds the possibility zoom the editor in MSIE.
|
||||
Added new emotions plugin, adds the possibility to add smileys.
|
||||
Fixed so that TinyMCE functions on MSIE 5.0 again.
|
||||
Fixed so that TinyMCE functions better on Mozilla 1.3.
|
||||
Fixed so that the cursor doesn't jump to the top when setting styles.
|
||||
Fixed bug with STRONG and EM elements wasn't handled correctly in Firefox.
|
||||
Optimized the key handling some, gives better typing performance.
|
||||
Removed key down statusbar debug info.
|
||||
Version 1.33 (2004-09-29)
|
||||
Removed the need of loading blank.html, iframes are now created dynamicly.
|
||||
Fixed bug when selecting tables, MSIE was casting errors.
|
||||
Fixed bug with pluginurl variable.
|
||||
Fixed bug when tinyMCE.selectedElement error was cast in Mozilla.
|
||||
Added new Arabic language pack contributed by Hani Suleiman.
|
||||
Added "lang_dir" support to language packs like Arabic.
|
||||
Version 1.32 (2004-09-25)
|
||||
Added new ieSpell plugin, only works in MSIE.
|
||||
Added new "theme_advanced_buttons<N>_add" option.
|
||||
Added new importPluginLanguagePack function.
|
||||
Added new Danish language pack contributed by Jan Moelgaard.
|
||||
Added updated German language pack contributed by Christopher Müller.
|
||||
Added new any_selection to handleNodeChange callback.
|
||||
Modified so link/unlink is dimmed if nothing is selected.
|
||||
Fixed bug when deleting images in Firefox.
|
||||
Changed the plugin location to a new plugin directory.
|
||||
Renamed the "theme_plugins" option to "plugins".
|
||||
Version 1.31 (2004-09-18)
|
||||
Added Canadian French language pack, contributed by Virtuelcom.
|
||||
Added so link/unlink buttons gets selected when user enters a link element.
|
||||
Fixed URL bug when drag dropping/copy pasting images in Mozilla.
|
||||
Fixed so mso style attribs don't get trimmed if auto_cleanup_word option is set to false.
|
||||
Fixed bug with text alignment buttons.
|
||||
Fixed bug with CSS auto import function in MSIE.
|
||||
Fixed initialization bugs and issues.
|
||||
Version 1.30 (2004-09-10)
|
||||
Fixed bug issue where the editor was stealing focus from location bar.
|
||||
Fixed bug issue with absolute aligned images lost focus when using tools.
|
||||
Fixed bug #1025483, Url converting broken.
|
||||
Added ability to send command values in advanced theme button list, contributed by someone helpfull.
|
||||
Added new cleanup_on_startup option, to increase startup speed.
|
||||
Added new inline_styles partly based on a contribution by Victor Nilsson.
|
||||
Added new named anchor support.
|
||||
Added custom_undo_redo_levels option.
|
||||
Version 1.29 (2004-09-08)
|
||||
Added new getEditorId function, to retrive the editor id of a form element.
|
||||
Readded so cleanup is automaticly executed on editor startup in MSIE.
|
||||
Added some various cleanup fixes for MS Word HTML.
|
||||
Added new auto_cleanup_word option, enabled auto MS Word HTML cleanup on paste events.
|
||||
Fixed parameter issue with insertImage function. Bug #1022863.
|
||||
Fixed bug #1022874, Where the small theme had underline command on strikethrough button.
|
||||
Fixed some bugs with table commands.
|
||||
Fixed bug #1023204, mceRemoveControl brings back the old HTML.
|
||||
Fixed bug issue with tinyMCE.selectedInstance in Mozilla.
|
||||
Fixed bug issue with Mozilla not saving content.
|
||||
Version 1.28 (2004-09-04)
|
||||
Added new Finnish language pack thanks to Urho Konttori.
|
||||
Added new rowseparator as a possible value of the theme_advanced_buttons<n> options.
|
||||
Added new theme_advanced_toolbar_location option.
|
||||
Added new uid variable option to valid_elements. (Generates unique IDs)
|
||||
Added new "directionality" option to support languages like Arabic.
|
||||
Added new character map button/window.
|
||||
Added new guidelines/visual aid toggle button.
|
||||
Reduced the source of the advanced theme some, and added some better comments.
|
||||
Separated the default theme in to files aswell.
|
||||
Removed source area size options and made source editor resizable instead.
|
||||
Increased the default width and height of the source editor.
|
||||
Fixed bug where image width/height default to 0x0 if these attributes wasn't defined.
|
||||
Fixed some bug issues with MSIE 5.5.
|
||||
Version 1.27 (2004-08-29)
|
||||
Added new cleanup logic, with new options and smarter behavior.
|
||||
Added new "trim_span_elements" option (removed unneeded span elements).
|
||||
Added new "verify_css_classes" option (verifies so class attributes contain a valid class).
|
||||
Added new "verify_html" option (enables/disabled verification of elements and attributes).
|
||||
Added new value verification type to "valid_elements" option.
|
||||
Added new simple wildcard support in "valid_elements" option.
|
||||
Added class as a valid attribute to table elements by default.
|
||||
Added so non existent classes gets removed HTML output.
|
||||
Added fix for entities, so they get converted correctly.
|
||||
Added new class select box in table dialog.
|
||||
Added hr as a default valid element.
|
||||
Fixed some issues with the language packs.
|
||||
Fixed some weird bugs and issues with hr elements.
|
||||
Fixed bug where Mozilla was casting exceptions on keypress.
|
||||
Version 1.26 (2004-08-25)
|
||||
Added a better way to create theme popup windows (External files).
|
||||
Added new getWindowArg function, returns window arguments in theme popups.
|
||||
Modified the advanced theme to adopt the new theme popup idea.
|
||||
Fixed critical Mozilla bug, where the editor didn't work at all some times.
|
||||
Fixed bug with auto CSS class import feature running on Firefox.
|
||||
Version 1.25 (2004-08-22)
|
||||
Added new format select box in advanced theme (Can be disabled).
|
||||
Added new "theme_advanced_disable" option to advanced theme.
|
||||
Added some new elements to default list of valid elements (Format select box elements).
|
||||
Added new font face, forecolor and font size support, these are not enabled by default.
|
||||
Added new "mceAddControl" command, enables users to dynamicly add editors.
|
||||
Added new execInstanceCommand function, check the documentation for details.
|
||||
Added new "mceSetAttribute" command.
|
||||
Modified the themes so that the focus alert doesn't popup as often as before.
|
||||
Modified the "mceRemoveControl" command so it can handle element id aswell as editor ids.
|
||||
Fixed some bugs and issues with the new custom undo/redo logic.
|
||||
Fixed weird Mozilla bug #997860.
|
||||
Version 1.24 (2004-08-17)
|
||||
Modified so that span with CSS classes that don't exists get removed.
|
||||
Added new "custom_undo_redo" option, this option is enabled by default.
|
||||
Added new "fix_content_duplication" option, that fixes some MSIE content duplication issues.
|
||||
Added new "mceFocus" command, that changes focus to the specified editor instance.
|
||||
Added new "mceReplaceContent" command, that enables users to replace the current selection.
|
||||
Fixed so styles including spaces doesn't get listed in style selection box.
|
||||
Fixed bug with form element names and exact mode in Mozilla.
|
||||
Fixed so tiny_mce_src.js can be used aswell as tiny_mce.js.
|
||||
Converted some of the language packs to better support unicode.
|
||||
Version 1.23 (2004-07-31)
|
||||
Modified the mceSetCSSClass command to address bug #997071.
|
||||
Added new Hungarian language pack thanks to 2XP.
|
||||
Added new callback "setupcontent_callback" check the manual for details.
|
||||
Fixed bug #994506, where empty theme_plugins option generated a 404 error.
|
||||
Fixed bug #999332, where image properties wasn't removed if the user deleted the image.
|
||||
Version 1.22 (2004-07-19)
|
||||
Fixed bug #989846, Image resize bug.
|
||||
Changed so that style attribute values get converted to lowercase in MSIE.
|
||||
Changed so the alignment called "middle" is "center" in table properties.
|
||||
Fixed so visual aids work correctly after using the source editor.
|
||||
Fixed some issues with anchor links.
|
||||
Fixed so that javascript: links can be used.
|
||||
Added width/height options for the advanced source editor.
|
||||
Fixed bug issue with URL:s containing quotes or single quotes.
|
||||
Fixed so that document_base_url can point to another domain.
|
||||
Version 1.21 (2004-07-12)
|
||||
Added new "theme_plugins" option, check the manuals for details.
|
||||
Added new "execCommand" plugin extention possibility.
|
||||
Added new "buttons<n>" config options to the advanced theme.
|
||||
Added new "mceRemoveControl" command.
|
||||
Added Spanish language pack thanks to "Alvaro Velasco".
|
||||
Fixed first click bug.
|
||||
Fixed so CSS url:s can be absolute.
|
||||
Updated the FAQ regarding the Cut/Copy/Paste issue.
|
||||
Version 1.20 (2004-07-05)
|
||||
Fixed bug issue #983257, JS runtime error when template contains no controls.
|
||||
Removed cut/copy/paste commands and icons due to security reasons in Mozilla.
|
||||
Added Czech language pack, thanks goes to "Pavel Novák" for the contribution.
|
||||
Fixed minor bug regarding empty attributes.
|
||||
Fixed so the "extended_valid_elements" overrides previous declarations.
|
||||
Version 1.19 (2004-06-28)
|
||||
Fixed focus bug that appared on Linux version of Mozilla.
|
||||
Fixed major bug issues with some Firefox/Firebird versions on Linux.
|
||||
Fixed minor visual aid bugs on tables.
|
||||
Fixed minor bugs with table commands.
|
||||
Fixed scroll issue in HTML source windows on Mozilla/Linux.
|
||||
Added a compatiblity chart to the manuals.
|
||||
Version 1.18 (2004-06-20)
|
||||
Added new option "remove_script_host".
|
||||
Some minor fixes to the mceInsertContent command.
|
||||
Fixed some issues with visual aids for tables.
|
||||
Fixed strange focus bug in MSIE.
|
||||
Updated some of the documentation.
|
||||
Version 1.17 (2004-06-16)
|
||||
Fixed bug, #972666 - Doesn't save edits when id != name.
|
||||
Added more Italian, user manuals. Thanks goes to "Fabrix Xm".
|
||||
Added Dutch language pack thanks to "Meint Post".
|
||||
Modified the MSIE version of mceInsertContent command.
|
||||
Version 1.16 (2004-06-14)
|
||||
Added new table dialog and TinyMCE_<theme>_getInsertTableTemplate template function.
|
||||
Added auto class import feature and Italian language pack thanks goes to "Lorenzo Pavani".
|
||||
Added border, alignment, vspace, hspace, width, height fields to the image properties dialog in advanced theme.
|
||||
Updates advanced theme help pages for Swedish and English.
|
||||
Fixed some minor issues with the mceSetCSSClass command.
|
||||
Fixed minor MSIE bug in built in default URL convertor.
|
||||
Fixed some image alignment issues.
|
||||
Fixed support for site root script paths like src="/jscripts/tiny_mce.js".
|
||||
Removed the use of "TinyMCE_advanced_cssClasses" from "advanced" theme.
|
||||
Modified the default value of "valid_elements" to include table align and class as valid attributes.
|
||||
Modified the default value of "valid_elements" to set img border attribute to 0 by default instead of by force.
|
||||
Modified so that popup windows gets centered on screen.
|
||||
Version 1.15 (2004-06-09)
|
||||
Added new "advanced" theme, that adds some new functions.
|
||||
Added new public js functions "getContent, setContent, applyTemplate, openWindow".
|
||||
Added new custom command "mceSetCSSClass", that sets css class of the selection.
|
||||
Added new custom command "mceInsertContent", that inserts HTML content.
|
||||
Added class attributes to some of the elements in the default value of "valid_elements".
|
||||
Added ability to have theme specific language packs by the js function "importThemeLanguagePack".
|
||||
Added more documentation to the usage and themes sections.
|
||||
Added table support, with custom commands and in advanced theme.
|
||||
Modified the advanced example to include the new advanced theme.
|
||||
Fixed tooltips for buttons in Mozilla.
|
||||
Version 1.14 (2004-06-07)
|
||||
Added new conversion possibility to save callback.
|
||||
Added some more usage documentation.
|
||||
Fixed some issues will updateContent function in Mozilla.
|
||||
Fixed some issues with relative paths.
|
||||
Fixed small Mozilla issue with visual aids.
|
||||
Fixed so that the default theme sets image border to 0.
|
||||
Fixed bug #968079, Removing editor buttons in template can cause errors.
|
||||
Version 1.13 (2004-06-04)
|
||||
Fixed critical bug where the editor didn't work at all in MSIE.
|
||||
Fixed bug where table visual aids didn't work in Mozilla.
|
||||
Version 1.12 (2004-06-03)
|
||||
Added updateContent function thanks to "Jürgen Baute" contribution.
|
||||
Added documentation of the diffrent public javascript functions of tinyMCE.
|
||||
Fixed bug #965615, Empty editor content returns "<br />" as value after cleanup.
|
||||
Fixed bug where Bold and Italic didn't work correctly in Mozilla.
|
||||
Version 1.11 (2004-06-01)
|
||||
Added new option "document_base_url", it's used when converting absolute URLs to relative ones.
|
||||
Added so that align button sets the align attribute of selected images.
|
||||
Fixed bug when / was passed within query string to the editors page.
|
||||
Fixed bug #961041, Image attributes are not removed.
|
||||
Version 1.1 (2004-05-26)
|
||||
Fixed bug #960112 JavaScript error when opening image window.
|
||||
Fixed bug #926644 Multiple forms with elements having the same name failed.
|
||||
Added function so that "specific_textareas" mode handles the "ask" option.
|
||||
Added new option "focus_alert", to remove annoying focus alert message.
|
||||
Version 1.09 (2004-05-24)
|
||||
Added new option "extended_valid_elements", this option adds extra elements to the "valid_elements" list.
|
||||
Fixed bug #958637, Resized images are displayed in original size
|
||||
Fixed bug #958942, Bug on realitive_urls (Bug with absolute URLs to insertlink_callback, insertimage_callback callbacks)
|
||||
Fixed bug #958498, Unable to change Bold and italic text in Mozilla.
|
||||
Version 1.08 (2004-05-21)
|
||||
Added new attributes "border, hspace, vspace, width, height, align" to the getInsertImageTemplate theme function.
|
||||
Added new relative_urls option, this new feature converts all absolute URLs to relative URLs and it's on by default.
|
||||
Fixed bug #956007, the CSS theme URL:s was allways pointing to the default theme.
|
||||
Fixed bug where enter/return key produced a error in the insert link popup window form. (This was done in the default template)
|
||||
Fixed bug #957681, Could not delete text without first adding character bug in Mozilla.
|
||||
Version 1.07 (2004-05-10)
|
||||
Added experimental support for option "force_br_newlines" to address bug #922416 and feature request #936270.
|
||||
Fixed bug with mailto: links.
|
||||
Version 1.06 (2004-04-15)
|
||||
Added new German language pack. Thanks goes to "Simon Rupf" for the contribution.
|
||||
Added new German/Swedish bold/italic language specific icons to both default and simple theme.
|
||||
Added new Swedish documentation.
|
||||
Version 1.05 (2004-04-02)
|
||||
Added new Italian language pack and documentation. Thanks goes to "Fabrix Xm" for the contribution.
|
||||
Fixed missing "lang_help_desc" definition in UK and SE langpacks.
|
||||
Added better documentation for the "valid_elements" option and it's format.
|
||||
Added new "preformatted" option to address feature request #927948.
|
||||
Added browser checker so that the script don't break on non compatible browsers.
|
||||
Fixed bug #926639, now the editor instance gets resized if a width/height is specified in %.
|
||||
Added new simple theme, this theme has only basic functions.
|
||||
Version 1.04 (2004-03-30)
|
||||
Fixed bug when insertLink and insertImage function didn't use the url_convertor callback.
|
||||
Fixed MSIE bug when images was 32x32 on initialization on slow connections.
|
||||
Fixed bug that made request on images with wrong path, produced some 404 error in webserver logs.
|
||||
Fixed MSIE bug where users could add images outside of the editor scope.
|
||||
Version 1.03 (2004-03-26)
|
||||
Added new "add_form_submit_trigger" this option is default and is added on all document forms within the page. To address bug #923362
|
||||
Moved javascript sourcecode file to "jscripts/tiny_mce/tiny_mce_src.js".
|
||||
Added new obfuscated version of tinymce to reduce size of script.
|
||||
Added some performance boosting code to the switchClassSticky function.
|
||||
Removed the "autosave" option, this is no longer needed and is replaced with "add_form_submit_trigger" or triggerSave call.
|
||||
Fixed undo bug in MSIE.
|
||||
Removed some unused eventhandlers results in better performance.
|
||||
Version 1.02 (2004-03-26)
|
||||
Added new handleNodeChange callback to themes.
|
||||
Fixed some bugs regarding events and themes function checks.
|
||||
Fixed bug issue when user focused nodes with keyboard.
|
||||
Version 1.01 (2004-03-12)
|
||||
Added some more documentation.
|
||||
Added new "visual" option to editor.
|
||||
Fixed bug on empty P elements.
|
||||
Fixed bug on table width/height.
|
||||
Version 1.0 (2004-03-11)
|
||||
Added new "debug" option and fixed some path issues.
|
||||
5
www/extras/tinymce2/defaultcontent.css
Normal file
5
www/extras/tinymce2/defaultcontent.css
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
/* If the site managers don't specify a style sheet to use with the rich editor, we do just to make it readable. */
|
||||
|
||||
body {
|
||||
font-size: 15px;
|
||||
}
|
||||
41
www/extras/tinymce2/docs/about.html
Normal file
41
www/extras/tinymce2/docs/about.html
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>About</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>About</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<h2>General information</h2>
|
||||
<div class="section">
|
||||
<p>TinyMCE is a powerful WYSIWYG editor control for web browsers such as MSIE or Mozilla that enables the user to edit HTML contents in a more user friendly way. The editor control is very flexible and it's build for integration purposes for example usage within systems like Intranets, CMS, LMS and so forth.</p>
|
||||
<p>
|
||||
TinyMCE is developed by <a href="http://www.moxiecode.com">Moxiecode Systems AB</a> and is currently released under the "LGPL" license, read the license agreement for details.
|
||||
</p>
|
||||
<h2>Features</h2>
|
||||
<p>
|
||||
<ul>
|
||||
<li>Easy to integrate, takes only a couple lines of code.</li>
|
||||
<li>Theme and template support.</li>
|
||||
<li>Easy to extend with custom code. (Plugins and callbacks)</li>
|
||||
<li>Customizable HTML output. Block elements and force attributes.</li>
|
||||
<li>International language support (Language packs).</li>
|
||||
<li>Multiple browser support, currently Mozilla (PC, Mac and Linux), MSIE (PC) and FireFox (PC, Mac and Linux) and some limited Safari support.</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
84
www/extras/tinymce2/docs/compatiblity_chart.html
Normal file
84
www/extras/tinymce2/docs/compatiblity_chart.html
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Compatiblity Chart</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Compatiblity Chart</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<h2>Browser support</h2>
|
||||
<div class="section">
|
||||
<p>TinyMCE uses advanced JavaScript and tries to be as smart as possible when it comes to different browsers, the main focus is on Microsoft Internet Explorer and Mozilla/Firefox. The table was reset to only show the browsers we ourselves can test on. It works with many older versions of Mozilla and Firefox. <strong>Just cause a browser is not listed on this page doesn't mean it does not work, try out the examples on our website.</strong></p>
|
||||
|
||||
<p>Since MacOS X 10.4 is more or less Linux we are not testing much on Linux any more, use the Sourceforge bug report system to submit bugs on the very latest browsers only.</p>
|
||||
<p>
|
||||
<table border="1" cellspacing="0" cellpadding="4">
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>Windows XP</td>
|
||||
<td>MacOS X 10.4</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>MSIE 6</td>
|
||||
<td>OK</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>MSIE 5.5 SP2</td>
|
||||
<td>OK</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>MSIE 5.0</td>
|
||||
<td>OK</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Mozilla 1.7.x</td>
|
||||
<td>OK</td>
|
||||
<td>OK</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Firefox 1.0.x</td>
|
||||
<td>OK</td>
|
||||
<td>OK</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Firefox 1.5b2</td>
|
||||
<td>OK</td>
|
||||
<td>OK</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Safari 2.0 (412)</td>
|
||||
<td> </td>
|
||||
<td>OK(1)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Opera 9 Preview 1</td>
|
||||
<td>OK(1)</td>
|
||||
<td>OK(1)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</p>
|
||||
<p>
|
||||
<ul>
|
||||
<li>(1) - Partialy working</li>
|
||||
<li>(2) - Buggy browser version</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
81
www/extras/tinymce2/docs/credits.html
Normal file
81
www/extras/tinymce2/docs/credits.html
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Credits</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Credits</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<h2>Contributors</h2>
|
||||
<div class="section">
|
||||
<p>These are the people, companies or organizations that have contributed in some way to the TinyMCE project. If you feel we are missing someone please inform us right away and we will correct this in future versions of TinyMCE.</p>
|
||||
<p>
|
||||
Please note that some of these have contributed with complete language packs and some have updated parts of language packs or similar.
|
||||
</p>
|
||||
</div>
|
||||
<div class="separator"></div>
|
||||
<div class="section">
|
||||
<p>
|
||||
<ul>
|
||||
<li class="list_subtitle">Code / Solutions / Features</li>
|
||||
<ul>
|
||||
<li>Michael Keck</li>
|
||||
<li>Victor Nilsson</li>
|
||||
<li>Jürgen Baute</li>
|
||||
<li>"Neirda"</li>
|
||||
<li>"speednet"</li>
|
||||
<li>Virtuelcom</li>
|
||||
<li>"SlyD"</li>
|
||||
<li>Ernst de Moor</li>
|
||||
<li>"jamesw"</li>
|
||||
<li>Vincent FIACK</li>
|
||||
<li>Aptest</li>
|
||||
</ul>
|
||||
<li class="list_subtitle">Language packs</li>
|
||||
<ul>
|
||||
<li>Marcin Szymon Sznyra</li>
|
||||
<li>"revyag"</li>
|
||||
<li>Jim Kou</li>
|
||||
<li>"Krokogras"</li>
|
||||
<li>Hani Suleiman</li>
|
||||
<li>Jan Moelgaard</li>
|
||||
<li>Christopher Müller</li>
|
||||
<li>Virtuelcom</li>
|
||||
<li>Pavel Novák</li>
|
||||
<li>Simon Rupf</li>
|
||||
<li>"Fabrix Xm"</li>
|
||||
<li>Mats Löfström, York Consulting AB</li>
|
||||
<li>Morteza Zafari</li>
|
||||
<li>Laurent Dran</li>
|
||||
<li>Tobias Heer</li>
|
||||
<li>"Innozent"</li>
|
||||
<li>"cube316"</li>
|
||||
<li>José Pedro Pereira</li>
|
||||
<li>"Martin"</li>
|
||||
<li>Sten Aksel Heien</li>
|
||||
<li>Setzer Gabbiani</li>
|
||||
<li>Jacaranda Bill</li>
|
||||
<li>Pat Boens</li>
|
||||
<li>Roman Filippov</li>
|
||||
<li>Arnoud van Delden</li>
|
||||
</ul>
|
||||
</ul>
|
||||
</p>
|
||||
<p>There are also a few corporations that have contributed in various ways to have features developed by payed support.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
145
www/extras/tinymce2/docs/css/screen.css
Normal file
145
www/extras/tinymce2/docs/css/screen.css
Normal file
|
|
@ -0,0 +1,145 @@
|
|||
body {
|
||||
background-color: #FFFFFF;
|
||||
font-family: Verdana, Arial, helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.header {
|
||||
border: #E0E0E0 solid 1px;
|
||||
}
|
||||
|
||||
.footer {
|
||||
border: #E0E0E0 solid 1px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
padding: 0px;
|
||||
margin: 4px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
.section {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.column {
|
||||
margin-right: 20px;
|
||||
float: left
|
||||
}
|
||||
|
||||
.separator {
|
||||
border-bottom: 1px solid #E6EBF1;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
p {
|
||||
}
|
||||
|
||||
.helpindex {
|
||||
margin-left: 20px;
|
||||
padding-left: 0px;
|
||||
}
|
||||
|
||||
|
||||
.optionlist {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.optionlist li {
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 3px;
|
||||
margin-left: 10px;
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.helpindex li {
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
.content {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.example {
|
||||
background-color: #E6EBF1;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
code, pre {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
background-color: #E6EBF1;
|
||||
}
|
||||
|
||||
.copyright {
|
||||
margin: 3px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.helpindexlink {
|
||||
margin: 3px;
|
||||
float: right;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #666666;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a:active {
|
||||
color: #666666;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #666666;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #666666;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.list_subtitle {
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
.note {
|
||||
margin-top: 5px;
|
||||
margin-left: 10px;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.marked {
|
||||
color: red;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
thead {
|
||||
background-color: #E6EBF1;
|
||||
}
|
||||
51
www/extras/tinymce2/docs/customization_language_packs.html
Normal file
51
www/extras/tinymce2/docs/customization_language_packs.html
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Customization - Creating a language pack</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Customization - Creating a language pack</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<h2>Making language packs</h2>
|
||||
<p>Language packs are simply JavaScript name/value arrays placed in the "<ISO-639-2 code>.js" files in the "lang" directory. Remember to allways use the "lang_" prefix for these value names so that they don't override other variables in the templates. The example below shows how the cut, copy and paste texts are lang packed. Notice there are three kinds of language packs the first one is the general one shared by all themes these are located in the "jscripts/tiny_mce/langs" directory the secound ones are theme specific language packs these are contained in "jscripts/tiny_mce/themes/<some theme>/langs" and the last one is plugin specific language packs located in each plugin.
|
||||
</p>
|
||||
<p>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.addToLang('',{
|
||||
cut_desc : 'Cut (Ctrl+X)',
|
||||
copy_desc : 'Copy (Ctrl+C)',
|
||||
paste_desc : 'Paste (Ctrl+P)'
|
||||
);
|
||||
</pre>
|
||||
</div>
|
||||
</p>
|
||||
<p>
|
||||
Remember the last translation line should not have a , character at the end. The first parameter to the addToLang is the prefix to add before each variable, this was added to reduce the overall size of the language packs to reduce the overall download time.
|
||||
</p>
|
||||
<p><h3>Files to edit</h3>
|
||||
When translating TinyMCE, these are the files that currently needs to be translated:
|
||||
</p>
|
||||
<p>
|
||||
/tinymce/jscripts/tiny_mce/langs/en.js<br />
|
||||
/tinymce/jscripts/tiny_mce/plugins/<plugin>/langs/en.js<br />
|
||||
/tinymce/jscripts/tiny_mce/themes/advanced/langs/en.js<br />
|
||||
</p>
|
||||
<p>
|
||||
Notice some language variables may include a name/url of a gif image or simmilar, for example the button for bold has a "F" character in the Swedish language pack. There are also relative window sizes located in the language packs, for example is the link dialog needs to be bigger inorder to fit a specific translation you can alter the width of the window by modifying these variables.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
254
www/extras/tinymce2/docs/customization_plugins.html
Normal file
254
www/extras/tinymce2/docs/customization_plugins.html
Normal file
|
|
@ -0,0 +1,254 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Customization - Creating a plugin</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Customization - Creating a plugin</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
|
||||
<h2>Creating your own plugins</h2>
|
||||
<p>
|
||||
Creating you own plugins for the TinyMCE application is fairly easy if you know the basics of HTML, CSS and Javascript. The most easy way is to copy the "_template" directory or one of the other core plugins and work from there. The "_template" directory is a tutorial plugin that shows how to create a plugin. After you copy the template you need to change the red sections marked below to the name of your plugin this is needed so that plugins don't overlap in other words it gives the plugin a unique name. Then just alter the source code as you see fit remember that your custom plugins needs to be located in tiny_mce's "plugins" directory. If you want you may add plugin specific options/settings but remember to namespace them in the following format "<your plugin>_<option>" for example "yourplugin_someoption".
|
||||
</p>
|
||||
<p>
|
||||
The example below has three functions, these are explained in greater detail below.
|
||||
</p>
|
||||
<p>
|
||||
<div class="example">
|
||||
<pre>
|
||||
function TinyMCE_<span class="marked">yourplugin</span>_getInfo() {
|
||||
// Should return info about the plugin to be presented in about dialog
|
||||
return {
|
||||
longname : 'Some plugin name',
|
||||
author : 'Your name',
|
||||
authorurl : 'http://www.yoursite.com',
|
||||
infourl : 'http://www.yoursite.com/docs/..',
|
||||
version : '1.0'
|
||||
};
|
||||
};
|
||||
|
||||
function TinyMCE_<span class="marked">yourplugin</span>_initInstance(inst) {
|
||||
// Gets executed when a editor instance is initialized
|
||||
}
|
||||
|
||||
function TinyMCE_<span class="marked">yourplugin</span>_getControlHTML(control_name) {
|
||||
// Gets executed when a button is to be generated
|
||||
}
|
||||
|
||||
function TinyMCE_<span class="marked">yourplugin</span>_handleNodeChange(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) {
|
||||
// Gets executed when the selection changes
|
||||
}
|
||||
|
||||
function TinyMCE_<span class="marked">yourplugin</span>_execCommand(editor_id, element, command, user_interface, value) {
|
||||
// Add your own custom commands here
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function TinyMCE_<span class="marked">yourplugin</span>_cleanup(type, content) {
|
||||
// Add your own custom cleanup here
|
||||
|
||||
return content;
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Creating popup HTML files</h3>
|
||||
<p>
|
||||
When creating a popup you need to include the "tiny_mce_popup.js" this enables you to retrive the tinyMCE global instance in all popup windows. All variables and language definitions gets replaced in the page when it loads. So language variables such as {$lang_something} can be places in the HTML code, if you need to get a language string in JavaScript simply use the tinyMCE.getLang function.
|
||||
</p>
|
||||
<h3>Example of simple popup file:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
<html>
|
||||
<head>
|
||||
<title>{$lang_plugin_sample_title}</title>
|
||||
<script language="javascript" src="../../tiny_mce_popup.js"></script>
|
||||
<script language="javascript">
|
||||
// getWindowArg returns any arguments passed to the window
|
||||
alert(tinyMCE.getWindowArg('some_arg'));
|
||||
</script>
|
||||
<body>
|
||||
<strong>{$lang_plugin_sample_desc}</strong>
|
||||
</body>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>The TinyMCE_<plugin>_initInstance function (Optional)</h3>
|
||||
<p>
|
||||
This function is called when a editor instance gets initialized.
|
||||
</p>
|
||||
<p>
|
||||
<table border="1" cellspacing="0" cellpadding="4">
|
||||
<thead>
|
||||
<tr>
|
||||
<td colspan="2">Parameters</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><strong>inst</strong></td>
|
||||
<td>Reference to editor instance that was initialized.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</p>
|
||||
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>The TinyMCE_<plugin>_handleNodeChange function (Optional)</h3>
|
||||
<p>
|
||||
This function is called when the cursor/selection of a editor instance changes. Then the currenly selected/focused node is passed to this function. This can be useful when you want to change the UI depending on what the user has selected.
|
||||
</p>
|
||||
<p>
|
||||
<table border="1" cellspacing="0" cellpadding="4">
|
||||
<thead>
|
||||
<tr>
|
||||
<td colspan="2">Parameters</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><strong>editor_id</strong></td>
|
||||
<td>Unique editor id, this is the same as the $editor_id variable in getEditorTemplate.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>node</strong></td>
|
||||
<td>Reference to the Node element where the cursor is currenly located.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>undo_index</strong></td>
|
||||
<td>Current undo index, this value is -1 if the custom undo/redo support is disabled.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>undo_levels</strong></td>
|
||||
<td>Current number of undo levels, this value is -1 if the custom undo/redo support is disabled.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>visual_aid</strong></td>
|
||||
<td>True/false state of visual aid/guidelines mode.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>any_selection</strong></td>
|
||||
<td>Is any text or image selected.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>The TinyMCE_<plugin>_execCommand function (Optional)</h3>
|
||||
<p>
|
||||
This function is called when a command is executed for example "bold" or "createlink" this callback/plugin function may then intercept plugin specific commands and do custom logic. If this command returns true the command handling is terminated and the default tinyMCE command handeling never gets executed.
|
||||
</p>
|
||||
<p>
|
||||
<table border="1" cellspacing="0" cellpadding="4">
|
||||
<thead>
|
||||
<tr>
|
||||
<td colspan="2">Parameters</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><strong>editor_id</strong></td>
|
||||
<td>Unique editor id, this is the same as the $editor_id variable in getEditorTemplate.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>element</strong></td>
|
||||
<td>Reference to the document DOM root element of the editor instance.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>command</strong></td>
|
||||
<td>Command that is to be executed for example "myCommand".</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>user_interface</strong></td>
|
||||
<td>true/false option if a user insterace is to be used or not.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>value</strong></td>
|
||||
<td>Custom data value passed with command, may be any data type.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</p>
|
||||
<p>
|
||||
Returns: <br />
|
||||
true - Command intercepted and handled do not continue with command handling.<br />
|
||||
false - Continue with execCommand handling, bubble.<br />
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>The TinyMCE_<plugin>_getControlHTML(control_name) function (Optional)</h3>
|
||||
<p>
|
||||
This function is called when a editor needs to render a specific control/button. This function should return the HTML template of that control or a empty string if the control_name wasn't recognized. Notice the variable {$pluginurl} gets replaced with the URL prefix for the current plugin directory.
|
||||
</p>
|
||||
<p>
|
||||
<table border="1" cellspacing="0" cellpadding="4">
|
||||
<thead>
|
||||
<tr>
|
||||
<td colspan="2">Parameters</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><strong>control_name</strong></td>
|
||||
<td>Control name to match against.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</p>
|
||||
<p>
|
||||
Returns: return the HTML template of that control or a empty string if the control_name wasn't recognized.
|
||||
</p>
|
||||
<h3>The TinyMCE_<plugin>_cleanup(type, content) function (Optional)</h3>
|
||||
<p>
|
||||
This function is called when a editor does cleanup of contents. This function has the same format as the one defined in the <a href="option_cleanup_callback.html">cleanup_callback</a> option.
|
||||
</p>
|
||||
<p>
|
||||
<table border="1" cellspacing="0" cellpadding="4">
|
||||
<thead>
|
||||
<tr>
|
||||
<td colspan="2">Parameters</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><strong>type</strong></td>
|
||||
<td>Type of cleanup, insert_to_editor or get_from_editor. Insert to editor is passed when new content is placed within the editor and get_from_editor is when content is passed out from the editor. When dealing with the DOM representation of the same content insert_to_editor_dom or get_from_editor_dom gets passed as a type.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>content</strong></td>
|
||||
<td>HTML contents to be cleaned up, this string contains the HTML code or with the _dom types the body DOM object gets passed instead.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</p>
|
||||
<p>
|
||||
Returns: return the cleaned up HTML code.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
423
www/extras/tinymce2/docs/customization_themes.html
Normal file
423
www/extras/tinymce2/docs/customization_themes.html
Normal file
|
|
@ -0,0 +1,423 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Customization - Creating a theme</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Customization - Creating a theme</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
|
||||
<h2>Creating your own Themes</h2>
|
||||
<p>
|
||||
Creating you own themes for the TinyMCE application is fairly easy if you know the basics of HTML, CSS and Javascript. The most easy way is to copy the "default" or the "advanced" template and rename it as your own name to for example "mytheme". After you copy the template you need to change the red sections marked below to "mytheme" this is needed so that themes don't overlap in other words it gives the theme a unique name. Then just alter the HTML code as you see fit but notice some elements needs to be there so check the docs below on each function also remember that your custom themes needs to be located in tiny_mce's "themes" directory. If you want you may add theme specific options/settings but remember to namespace them in the following format "theme_<your theme>_<option>".
|
||||
</p>
|
||||
<p>
|
||||
The example below has three functions, these are explained in greater detail below.
|
||||
</p>
|
||||
<p>
|
||||
<div class="example">
|
||||
<pre>
|
||||
function TinyMCE_<span class="marked">default</span>_getEditorTemplate(settings) {
|
||||
var template = new Array();
|
||||
|
||||
template['html'] = '<Some HTML>';
|
||||
template['delta_width'] = 0;
|
||||
template['delta_height'] = -40;
|
||||
|
||||
return template;
|
||||
}
|
||||
|
||||
function TinyMCE_<span class="marked">default</span>_getInsertLinkTemplate(settings) {
|
||||
var template = new Array();
|
||||
|
||||
template['file'] = 'link.htm';
|
||||
template['width'] = 320;
|
||||
template['height'] = 130;
|
||||
|
||||
return template;
|
||||
}
|
||||
|
||||
function TinyMCE_<span class="marked">default</span>_getInsertImageTemplate(settings) {
|
||||
var template = new Array();
|
||||
|
||||
template['file'] = 'image.htm';
|
||||
template['width'] = 320;
|
||||
template['height'] = 130;
|
||||
|
||||
return template;
|
||||
}
|
||||
|
||||
function TinyMCE_<span class="marked">default</span>_handleNodeChange(editor_id, node) {
|
||||
// Check what happend
|
||||
}
|
||||
|
||||
function TinyMCE_<span class="marked">default</span>_execCommand(editor_id, element, command, user_interface, value) {
|
||||
// Your custom command logic
|
||||
return false;
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
</p>
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Creating popup HTML files</h3>
|
||||
<p>
|
||||
When creating a popup you need to include the "tiny_mce_popup.js" this enables you to retrive the tinyMCE global instance in all popup windows. All variables and language definitions gets replaced in the page when it loads. So language variables such as {$lang_something} can be places in the HTML code, if you need to get a language string in JavaScript simply use the tinyMCE.getLang function.
|
||||
</p>
|
||||
<h3>Example of simple popup file:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
<html>
|
||||
<head>
|
||||
<title>{$lang_plugin_sample_title}</title>
|
||||
<script language="javascript" src="../../tiny_mce_popup.js"></script>
|
||||
<script language="javascript">
|
||||
// getWindowArg returns any arguments passed to the window
|
||||
alert(tinyMCE.getWindowArg('some_arg'));
|
||||
</script>
|
||||
<body>
|
||||
<strong>{$lang_plugin_sample_desc}</strong>
|
||||
</body>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
<h3>The TinyMCE_<theme>_getEditorTemplate(settings) function</h3>
|
||||
<p>
|
||||
This function is responsible for the layout of the editor instance within the page it should return a name/value based array with some specific names. These are explained below, notice names included in [] characters are optional. The settings parameter to this function is a name/value array containing tinyMCE:s settings/options.
|
||||
</p>
|
||||
<p>
|
||||
<table border="1" cellspacing="0" cellpadding="4">
|
||||
<thead>
|
||||
<tr>
|
||||
<td colspan="2">Template data</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><strong>html</strong></td>
|
||||
<td>HTML template data, this value should contain all the HTML code needed to render the editor. Notice: {$<variable>} are replaces with values when used. More about these specific values later on.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>[delta_width]</strong></td>
|
||||
<td>Delta width, this value should contain the relative width needed by the UI. For example if a toolbar takes 20 pixels this value should be -20. This is so the editor gets the same size as the element that are replaced.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>[delta_height]</strong></td>
|
||||
<td>Delta height, this value should contain the relative width needed by the UI. For example if a toolbar takes 40 pixels this value should be -40. This is so the editor gets the same size as the element that are replaced.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</p>
|
||||
<p>
|
||||
Variables within the "html" value above are replaced with internal TinyMCE values. There are two types of variables one is the ones starting with the "lang_" prefix, these are replaced with the matching names in the language packs. So for example <b>{$lang_test}</b> gets replaces with the "tinyMCELang['lang_test']" variable and the output is then <b>Test</b>. The other variables are passed expicilty for the template used and these are listed below. Notice: Variables within [] characters are optional.
|
||||
</p>
|
||||
<p>
|
||||
<table border="1" cellspacing="0" cellpadding="4">
|
||||
<thead>
|
||||
<tr>
|
||||
<td colspan="2">Variables</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><strong>editor_id</strong></td>
|
||||
<td>This is the editor instance id and it should be placed in ID attribute of the IFRAME element that must be included in the template.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>[default_document]</strong></td>
|
||||
<td>This will be replaced with a blank html page, this is added for MSIE security issues and should be placed in the SRC attribute of the IFRAME within the template.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>[area_width]</strong></td>
|
||||
<td>Width of IFRAME area in pixels.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>[area_height]</strong></td>
|
||||
<td>Height of IFRAME area in pixels.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>[width]</strong></td>
|
||||
<td>Width of the whole editor area in pixels.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>[height]</strong></td>
|
||||
<td>Height of the whole editor area in pixels.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>[themeurl]</strong></td>
|
||||
<td>URL to theme location.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</p>
|
||||
<p>
|
||||
Notice: There are two javascript function that can be called from this template these are tinyMCE.execCommand that executes commans on the currenly selected editor area and the tinyMCE.switchClass that switches the CSS class of the element specified. For more details of commands available by execCommand check the Mozilla midas specification and the TinyMCE specific commands.
|
||||
</p>
|
||||
<div class="separator"></div>
|
||||
<h3>The TinyMCE_<theme>_getInsertLinkTemplate(settings) function</h3>
|
||||
<p>
|
||||
This function is responsible for the layout of the insert link popup window and it should return a name/value based array with some specific names. These are explained below, notice names included in [] characters are optional. The settings parameter to this function is a name/value array containing tinyMCE:s settings/options.
|
||||
</p>
|
||||
<p>
|
||||
<table border="1" cellspacing="0" cellpadding="4">
|
||||
<thead>
|
||||
<tr>
|
||||
<td colspan="2">Template data</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><strong>html</strong></td>
|
||||
<td>HTML template data, this value should contain all the HTML code needed to render the link dialog. Notice: {$<variable>} are replaces with values when used. More about these specific values later on. This parameter is not needed if the "file" param is assigned.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>file</strong></td>
|
||||
<td>Name of external template file to use, this may even be logic pages like .php,.asp,.jsp etc.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>[width]</strong></td>
|
||||
<td>Width of popup window in pixels. Default is 320.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>[height]</strong></td>
|
||||
<td>Height of popup window in pixels. Default is 200.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</p>
|
||||
<p>
|
||||
Variables within the "html" value above are replaced with internal TinyMCE values. There are two types of variables one is the ones starting with the "lang_" prefix, these are replaced with the matching names in the language packs. So for example <b>{$lang_test}</b> gets replaces with the "tinyMCELang['lang_test']" variable and the output is then <b>Test</b>. The other variables are passed expicilty for the template used and these are listed below. Notice: Variables within [] characters are optional.
|
||||
</p>
|
||||
<p>
|
||||
<table border="1" cellspacing="0" cellpadding="4">
|
||||
<thead>
|
||||
<tr>
|
||||
<td colspan="2">Variables/Window arguments:</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><strong>[href]</strong></td>
|
||||
<td>This variable gets replaced with the "href" attribute value of the selected link if one is selected.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>[target]</strong></td>
|
||||
<td>This variable gets replaced with the "target" attribute value of the selected link if one is selected.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>[css]</strong></td>
|
||||
<td>Theme popup css location.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</p>
|
||||
<p>
|
||||
Notice: There are a javascript function that can be called from this template "window.opener.tinyMCE.insertLink(href, target)" this inserts the link into the currently selected editor and should be called when for example a insert button is pressed.
|
||||
</p>
|
||||
<div class="separator"></div>
|
||||
<h3>The TinyMCE_<theme>_getInsertImageTemplate(settings) function</h3>
|
||||
<p>
|
||||
This function is responsible for the layout of the insert image dialog, it should return a name/value based array with some specific names. These are explained below, notice names included in [] characters are optional. The settings parameter to this function is a name/value array containing tinyMCE:s settings/options.
|
||||
</p>
|
||||
<p>
|
||||
<table border="1" cellspacing="0" cellpadding="4">
|
||||
<thead>
|
||||
<tr>
|
||||
<td colspan="2">Template data</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><strong>html</strong></td>
|
||||
<td>HTML template data, this value should contain all the HTML code needed to render the image dialog. Notice: {$<variable>} are replaces with values when used. More about these specific values later on. This parameter is not needed if the "file" param is assigned.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>[width]</strong></td>
|
||||
<td>Width of popup window in pixels. Default is 320.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>[height]</strong></td>
|
||||
<td>Height of popup window in pixels. Default is 200.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</p>
|
||||
<p>
|
||||
Variables within the "html" value above are replaced with internal TinyMCE values. There are two types of variables one is the ones starting with the "lang_" prefix, these are replaced with the matchin names in the language packs. So for example <b>{$lang_test}</b> gets replaces with the "tinyMCELang['lang_test']" variable and the output is then <b>Test</b>. The other variables are passed expicilty for the template used and these are listed below. Notice: Variables within [] characters are optional.
|
||||
</p>
|
||||
<p>
|
||||
<table border="1" cellspacing="0" cellpadding="4">
|
||||
<thead>
|
||||
<tr>
|
||||
<td colspan="2">Variables/Window arguments</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><strong>[src]</strong></td>
|
||||
<td>This variable gets replaced with the "src" attribute value of the selected link if one is selected.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>[alt]</strong></td>
|
||||
<td>This variable gets replaced with the "alt" attribute value of the selected link if one is selected.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>[border]</strong></td>
|
||||
<td>This variable gets replaced with the "border" attribute value of the selected link if one is selected.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>[hspace]</strong></td>
|
||||
<td>This variable gets replaced with the "hspace" attribute value of the selected link if one is selected.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>[vspace]</strong></td>
|
||||
<td>This variable gets replaced with the "vspace" attribute value of the selected link if one is selected.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>[width]</strong></td>
|
||||
<td>This variable gets replaced with the "width" attribute value of the selected link if one is selected.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>[height]</strong></td>
|
||||
<td>This variable gets replaced with the "height" attribute value of the selected link if one is selected.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>[align]</strong></td>
|
||||
<td>This variable gets replaced with the "align" attribute value of the selected link if one is selected.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>[css]</strong></td>
|
||||
<td>Theme popup css location.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</p>
|
||||
<p>
|
||||
Notice: There are a javascript function that can be called from this template "window.opener.tinyMCE.insertImage(src, alt, border, hspace, vspace, width, height, align)" this inserts the image into the currently selected editor and should be called when for example a insert button is pressed.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>The TinyMCE_<theme>_handleNodeChange function (Optional)</h3>
|
||||
<p>
|
||||
This function is called when the cursor/selection of a editor instance changes. Then the currenly selected/focused node is passed to this function. This can be useful when you want to change the UI depending on what the user has selected.
|
||||
</p>
|
||||
<p>
|
||||
<table border="1" cellspacing="0" cellpadding="4">
|
||||
<thead>
|
||||
<tr>
|
||||
<td colspan="2">Parameters</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><strong>editor_id</strong></td>
|
||||
<td>Unique editor id, this is the same as the $editor_id variable in getEditorTemplate.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>node</strong></td>
|
||||
<td>Reference to the Node element where the cursor is currenly located.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>undo_index</strong></td>
|
||||
<td>Current undo index, this value is -1 if the custom undo/redo support is disabled.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>undo_levels</strong></td>
|
||||
<td>Current number of undo levels, this value is -1 if the custom undo/redo support is disabled.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>visual_aid</strong></td>
|
||||
<td>True/false state of visual aid/guidelines mode.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>any_selection</strong></td>
|
||||
<td>Is any text or image selected.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>The TinyMCE_<theme>_execCommand function (Optional)</h3>
|
||||
<p>
|
||||
This function is called when a command is executed for example "bold" or "createlink" this callback/theme function may then intercept theme specific commands and do custom logic. If this command returns true the command handling is terminated and the default tinyMCE command handeling never gets executed.
|
||||
</p>
|
||||
<p>
|
||||
<table border="1" cellspacing="0" cellpadding="4">
|
||||
<thead>
|
||||
<tr>
|
||||
<td colspan="2">Parameters</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><strong>editor_id</strong></td>
|
||||
<td>Unique editor id, this is the same as the $editor_id variable in getEditorTemplate.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>element</strong></td>
|
||||
<td>Reference to the document DOM root element of the editor instance.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>command</strong></td>
|
||||
<td>Command that is to be executed for example "myCommand".</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>user_interface</strong></td>
|
||||
<td>true/false option if a user insterace is to be used or not.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>value</strong></td>
|
||||
<td>Custom data value passed with command, may be any data type.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</p>
|
||||
<p>
|
||||
Returns: <br />
|
||||
true - Command intercepted and handled do not continue with command handling.<br />
|
||||
false - Continue with execCommand handling, bubble.<br />
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>The TinyMCE_<theme>_getControlHTML(control_name) function (Optional)</h3>
|
||||
<p>
|
||||
This function is called when a editor needs to render a specific control/button. This function should return the HTML template of that control or a empty string if the control_name wasn't recognized. Notice the variable {$pluginurl} gets replaced with the URL prefix for the current plugin directory.
|
||||
</p>
|
||||
<p>
|
||||
<table border="1" cellspacing="0" cellpadding="4">
|
||||
<thead>
|
||||
<tr>
|
||||
<td colspan="2">Parameters</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><strong>control_name</strong></td>
|
||||
<td>Control name to match against.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</p>
|
||||
<p>
|
||||
Returns: return the HTML template of that control or a empty string if the control_name wasn't recognized.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
144
www/extras/tinymce2/docs/faq.html
Normal file
144
www/extras/tinymce2/docs/faq.html
Normal file
|
|
@ -0,0 +1,144 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Frequently Asked Questions</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Frequently Asked Questions</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>Here are some common answers to common questions. If you need more help you can always visit the <a href="http://tinymce.moxiecode.com/">TinyMCE Forum</a> on the TinyMCE web site.</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h2>TinyMCE is broken, what should I do?</h2>
|
||||
<div class="section">
|
||||
<p>There are a few things you should check before posting questions about your problem at the forum or sourceforge.</p>
|
||||
<p>
|
||||
<ul>
|
||||
<li>Does TinyMCE work on the <a href="http://tinymce.moxiecode.com/example_full.php?example=true">TinyMCE website</a>. Then you know that TinyMCE works with your browser.</li>
|
||||
<li>Try to disable any other JavaScripts on the page, some scripts interfere with internal functions that TinyMCE uses. Those scripts are probably poorly written.</li>
|
||||
<li>Check that you havn't missed removing the last , character in your initialization code and that all the other rows have a trailing , character.</li>
|
||||
<li>Verify that the path/URL to TinyMCE is correct, you can use the excellent tool <a href="http://www.fiddlertool.com/fiddler/">Fiddler</a> for this and other HTTP debugging.</li>
|
||||
<li>Do not cross domain load TinyMCE or any other script unless you really really must, since this will invoke various browser security features. In other words, try placing everything on the same server.</li>
|
||||
<li>Don't place textareas within paragraph elements since this is not valid HTML and it will break MSIE and TinyMCE.</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h2>Why does TinyMCE strip aways attributes or tags from my source?</h2>
|
||||
<div class="section">
|
||||
<p>You need to check out the "<a href="option_valid_elements.html">valid_elements</a>" and "<a href="option_extended_valid_elements.html">extended_valid_elements</a>" option in the configuration. By default, TinyMCE only allows certain tags and attributes. TinyMCE also tries to follow the XHTML specification as much as possible (and so should you), this can cause some unexpected source changes, there are however configuration options to battle this issue, study the configuration options in details.</p>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h2>How do I change the default font size/face color of the editor?</h2>
|
||||
<div class="section">
|
||||
<p>
|
||||
We recommend that you have a look at the <a href="option_content_css.html">content_css</a> option, this enables you to switch the CSS file TinyMCE uses for it's editing area with a file with your CSS rules for font size and so forth.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h2>How do I remove/add buttons/controls to TinyMCE?</h2>
|
||||
<div class="section">
|
||||
<p>
|
||||
There are quite a few options for this but a reference of all available buttons/control names can be found in the <a href="reference_buttons.html">button/control reference</a>.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h2>TinyMCE changes the path of my images, why?</h2>
|
||||
<div class="section">
|
||||
<p>
|
||||
Different browsers handles images differently, TinyMCE tries to compensate for this and has its own convert URL functions. You can control the behavior through the configuration, check out the URL section in the <a href="reference_configuration.html">configuration</a> options.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h2>Why does my HTML output include lots of \" like <a href=\"mylink.htm\">link</a>?</h2>
|
||||
<div class="section">
|
||||
<p>This is probably because you are using PHP and it has a feature that's called magic quotes that is enabled by default. You can read more about this at the <a href="http://se2.php.net/magic_quotes/">PHP website</a> or use the <a href="http://www.php.net/manual/en/function.stripslashes.php">stripslashes</a> function.</p>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h2>TinyMCE takes ages to load, is there a way to make it load quicker?</h2>
|
||||
<div class="section">
|
||||
<p>
|
||||
If you use PHP on your server you can use tiny_mce_gzip.php instead of tiny_mce.js in page script call. This PHP file bundles all .js files together into two HTTP requests instead of one for each plugin, language file and theme and it also GZip compresses these files.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h2>Can I use TinyMCE in my commercial application?</h2>
|
||||
<div class="section">
|
||||
<p>Yes you can, the LGPL license is a Free Software License. You can read the whole license <a href="license.html">here</a> or visit Free Software Foundation web site <a href="http://www.fsf.org/" target="_blank">here</a></p>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h2>TinyMCE stops working when placed in tabs or hidden divs?</h2>
|
||||
<div class="section">
|
||||
<p>Since Gecko based browsers Mozilla/Firefox has a bug where it looses designMode on iframes that are hidden a special option is needed that re-enables the design mode when reappearing after being hidden. Enable this option to resolve the issue: "<a href="option_auto_reset_designmode.html">auto_reset_designmode</a>".</p>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h2>Are there any restrictions to using TinyMCE in my commercial application?</h2>
|
||||
<div class="section">
|
||||
<p>
|
||||
Yes, all copyright notices must be intact. Moxiecode Systems are still the copyright holders of the source code, so you can not use the code for other applications. Any modifications or add-ons you make to the source has to be contributes back to the TinyMCE community.
|
||||
</p>
|
||||
<p>
|
||||
If you start to make a lot of revenue from using TinyMCE, please remember the time and dedication that has been put into this by other developers, respect this and give credit to those who deserve it. We also accept donations.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h2>I don't like LGPL, is there a commercial license available for me?</h2>
|
||||
<div class="section">
|
||||
<p>
|
||||
Yes, we can draw up a license for you that enables you to remove copyright restrictions or anything else you would like to have in this license agreement. Contact us through email, sales (at) moxiecode (dot) com.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h2>Do you provide support?</h2>
|
||||
<div class="section">
|
||||
<p>
|
||||
We do not provide any non-commercial support outside the forum on the <a href="http://tinymce.moxiecode.com/">TinyMCE</a> web site. If you require commercial support, contact us by email, sales (at) moxiecode (dot) com.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h2>Who made this software?</h2>
|
||||
<div class="section">
|
||||
<p>
|
||||
The author of TinyMCE is <a href="http://www.moxiecode.com/" target="_blank">Moxiecode Systems</a>, parts of code has also been contributed by others, <a href="credits.html">here</a> are the credits list.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
BIN
www/extras/tinymce2/docs/images/moxiecode.gif
Normal file
BIN
www/extras/tinymce2/docs/images/moxiecode.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 KiB |
44
www/extras/tinymce2/docs/index.html
Normal file
44
www/extras/tinymce2/docs/index.html
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>TinyMCE Documentation - Index</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>TinyMCE Documentation</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<ul class="helpindex">
|
||||
<li><a href="about.html">About TinyMCE</a></li>
|
||||
<li><a href="installing.html">Installation instructions</a></li>
|
||||
<li class="list_subtitle"><strong>Reference</strong></li>
|
||||
<ul>
|
||||
<li><a href="reference_configuration.html">Configuration</a></li>
|
||||
<li><a href="reference_buttons.html">Button/control reference</a></li>
|
||||
<li><a href="reference_javascript_functions.html">JavaScript functions</a></li>
|
||||
<li><a href="reference_plugins.html">Plugins</a></li>
|
||||
</ul>
|
||||
<li class="list_subtitle"><strong>Customization</strong></li>
|
||||
<ul style="padding-bottom: 5px;">
|
||||
<li><a href="customization_plugins.html">Creating a plugin</a></li>
|
||||
<li><a href="customization_language_packs.html">Creating a language pack</a></li>
|
||||
<li><a href="customization_themes.html">Creating a theme</a></li>
|
||||
</ul>
|
||||
<li><a href="compatiblity_chart.html">Compatiblity chart</a></li>
|
||||
<li><a href="faq.html">Frequently asked questions</a></li>
|
||||
<li><a href="credits.html">Credits</a></li>
|
||||
<li><a href="license.html">License (LGPL)</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
35
www/extras/tinymce2/docs/installation_example_00.html
Normal file
35
www/extras/tinymce2/docs/installation_example_00.html
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Installation Example 00</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
<script language="javascript" type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script>
|
||||
<script language="javascript" type="text/javascript">
|
||||
tinyMCE.init({
|
||||
mode : "textareas",
|
||||
theme : "simple"
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Installation example 00</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<h3>Example</h3>
|
||||
<form method="post">
|
||||
<textarea name="content" cols="50" rows="15">This is some content that will be editable with TinyMCE.</textarea>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
36
www/extras/tinymce2/docs/installation_example_01.html
Normal file
36
www/extras/tinymce2/docs/installation_example_01.html
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Installation Example 01</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
<script language="javascript" type="text/javascript" src="../jscripts/tiny_mce/tiny_mce_src.js"></script>
|
||||
<script language="javascript" type="text/javascript">
|
||||
tinyMCE.init({
|
||||
mode : "textareas",
|
||||
theme : "advanced"
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Installation example 01</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<h3>Example</h3>
|
||||
<p>Open this page with "View source" or similar to see how the configuration is made.</p>
|
||||
<form method="post">
|
||||
<textarea name="content" cols="50" rows="15">This is some content that will be editable with TinyMCE.</textarea>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
52
www/extras/tinymce2/docs/installation_example_02.html
Normal file
52
www/extras/tinymce2/docs/installation_example_02.html
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Installation Example 02</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
<script language="javascript" type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script>
|
||||
<script language="javascript" type="text/javascript">
|
||||
tinyMCE.init({
|
||||
mode : "textareas",
|
||||
theme : "advanced",
|
||||
plugins : "table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,searchreplace,print,contextmenu",
|
||||
theme_advanced_buttons1_add_before : "save,separator",
|
||||
theme_advanced_buttons1_add : "fontselect,fontsizeselect",
|
||||
theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,zoom,separator,forecolor,backcolor",
|
||||
theme_advanced_buttons2_add_before: "cut,copy,paste,separator,search,replace,separator",
|
||||
theme_advanced_buttons3_add_before : "tablecontrols,separator",
|
||||
theme_advanced_buttons3_add : "emotions,iespell,flash,advhr,separator,print",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "left",
|
||||
theme_advanced_path_location : "bottom",
|
||||
plugin_insertdate_dateFormat : "%Y-%m-%d",
|
||||
plugin_insertdate_timeFormat : "%H:%M:%S",
|
||||
extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
|
||||
external_link_list_url : "example_data/example_link_list.js",
|
||||
external_image_list_url : "example_data/example_image_list.js",
|
||||
flash_external_list_url : "example_data/example_flash_list.js"
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Installation example 02</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<h3>Example</h3>
|
||||
<p>Open this page with "View source" or similar to see how the configuration is made.</p>
|
||||
<form method="post">
|
||||
<textarea name="content" cols="85" rows="15">This is some content that will be editable with TinyMCE.</textarea>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
43
www/extras/tinymce2/docs/installation_example_03.html
Normal file
43
www/extras/tinymce2/docs/installation_example_03.html
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Installation Example 02</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
<script language="javascript" type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script>
|
||||
<script language="javascript" type="text/javascript">
|
||||
tinyMCE.init({
|
||||
mode : "textareas",
|
||||
theme : "advanced",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,separator,strikethrough,justifyleft,justifycenter,justifyright, justifyfull,bullist,numlist,undo,redo,link,unlink",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "left",
|
||||
theme_advanced_path_location : "bottom",
|
||||
extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]"
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Installation example 02</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<h3>Example</h3>
|
||||
<p>Open this page with "View source" or similar to see how the configuration is made.</p>
|
||||
<form method="post">
|
||||
<textarea name="content" cols="85" rows="15">This is some content that will be editable with TinyMCE.</textarea>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
121
www/extras/tinymce2/docs/installing.html
Normal file
121
www/extras/tinymce2/docs/installing.html
Normal file
|
|
@ -0,0 +1,121 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Installation instructions</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Installation instructions</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>Installing TinyMCE is very simple, follow the instructions here. We give a few examples of to integrate TinyMCE, also look at the extensive <a href="reference_configuration.html">options</a> for configuration.</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h2>Requirements</h2>
|
||||
<div class="section">
|
||||
<p>TinyMCE has no direct requirements except for <a href="compatiblity_chart.html">browser compatibility</a> and of course JavaScript needs to be turned on. There is NO backend code distributed with TinyMCE.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h2>Downloading</h2>
|
||||
<div class="section">
|
||||
<p>For download instructions check our <a href="http://tinymce.moxiecode.com">web site.</a></p>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h2>Extracting the archives</h2>
|
||||
<div class="section">
|
||||
<p>On windows you could use <a href="http://www.winzip.com">WinZip</a> or something similar. And on other operating systems such as Linux you simply extract the archive with the tar command. You can find a example on how to extract the archived file on Linux below.</p>
|
||||
<p>
|
||||
You should extract TinyMCE in your wwwroot or site domain root folder
|
||||
</p>
|
||||
<h3>Extract example using a shell:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
$ cd wwwroot
|
||||
$ gzip -d tinymce_1_44.tar.gz
|
||||
$ tar xvf tinymce_1_44.tar
|
||||
</pre>
|
||||
</div>
|
||||
<p>
|
||||
<h3>A folder structure looking like this is created:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
/tinymce/
|
||||
/tinymce/docs/
|
||||
/tinymce/docs/zh_cn/
|
||||
/tinymce/examples/
|
||||
/tinymce/examples/zh_cn/
|
||||
/tinymce/jscripts/
|
||||
/tinymce/jscripts/tiny_mce/
|
||||
/tinymce/jscripts/tiny_mce/langs/
|
||||
/tinymce/jscripts/tiny_mce/plugins/
|
||||
/tinymce/jscripts/tiny_mce/plugins/<plugin folders>
|
||||
/tinymce/jscripts/tiny_mce/themes/
|
||||
/tinymce/jscripts/tiny_mce/themes/advanced/
|
||||
/tinymce/jscripts/tiny_mce/themes/default/
|
||||
/tinymce/jscripts/tiny_mce/themes/simple/
|
||||
</pre>
|
||||
</div>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h2>Making changes on your web site</h2>
|
||||
<div class="section">
|
||||
<p>Once you have extracted the archive you will need to edit the pages to include the configuration and javascript for TinyMCE. Please note that you should probably only include the TinyMCE javascript on the pages that need it, not all the pages of the web site. Remember to change the URL to the .js below to match your installation path.</p>
|
||||
<p>
|
||||
<h3>The most basic page integration (converts all textarea elements into editors):</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
<html>
|
||||
<head>
|
||||
<title>TinyMCE Test</title>
|
||||
<strong><script language="javascript" type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script>
|
||||
<script language="javascript" type="text/javascript">
|
||||
tinyMCE.init({
|
||||
mode : "textareas"
|
||||
});
|
||||
</script></strong>
|
||||
</head>
|
||||
<body>
|
||||
<form method="post">
|
||||
<textarea name="content" cols="50" rows="15">This is some content that will be editable with TinyMCE.</textarea>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
</pre>
|
||||
</div>
|
||||
</p>
|
||||
<p>
|
||||
Here are a few different example of how you could integrate TinyMCE.
|
||||
</p>
|
||||
<p>
|
||||
<ul>
|
||||
<li><a href="installation_example_00.html">Example 00</a> - Simple Theme</li>
|
||||
<li><a href="installation_example_01.html">Example 01</a> - Advanced Theme</li>
|
||||
<li><a href="installation_example_02.html">Example 02</a> - Advanced Theme Full</li>
|
||||
<li><a href="installation_example_03.html">Example 03</a> - Advanced Theme Simplified</li>
|
||||
</ul>
|
||||
</p>
|
||||
<p>
|
||||
If you have any problems, you should check the forum on the <a href="http://tinymce.moxiecode.com/" target="_blank">TinyMCE web site.</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
465
www/extras/tinymce2/docs/license.html
Normal file
465
www/extras/tinymce2/docs/license.html
Normal file
|
|
@ -0,0 +1,465 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>TinyMCE License (LGPL)</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>TinyMCE License (LGPL)</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
Visit the <a href="faq.html">FAQ</a> for general answers surrounding TinyMCE. Or visit <a href="http://www.fsf.org" target="_blank">http://www.fsf.org</a> for more information about Open-Source licenses.
|
||||
</p>
|
||||
<pre>
|
||||
GNU LIBRARY GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1991 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
[This is the first released version of the library GPL. It is
|
||||
numbered 2 because it goes with version 2 of the ordinary GPL.]
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
Licenses are intended to guarantee your freedom to share and change
|
||||
free software--to make sure the software is free for all its users.
|
||||
|
||||
This license, the Library General Public License, applies to some
|
||||
specially designated Free Software Foundation software, and to any
|
||||
other libraries whose authors decide to use it. You can use it for
|
||||
your libraries, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if
|
||||
you distribute copies of the library, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of the library, whether gratis
|
||||
or for a fee, you must give the recipients all the rights that we gave
|
||||
you. You must make sure that they, too, receive or can get the source
|
||||
code. If you link a program with the library, you must provide
|
||||
complete object files to the recipients so that they can relink them
|
||||
with the library, after making changes to the library and recompiling
|
||||
it. And you must show them these terms so they know their rights.
|
||||
|
||||
Our method of protecting your rights has two steps: (1) copyright
|
||||
the library, and (2) offer you this license which gives you legal
|
||||
permission to copy, distribute and/or modify the library.
|
||||
|
||||
Also, for each distributor's protection, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
library. If the library is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original
|
||||
version, so that any problems introduced by others will not reflect on
|
||||
the original authors' reputations.
|
||||
.
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that companies distributing free
|
||||
software will individually obtain patent licenses, thus in effect
|
||||
transforming the program into proprietary software. To prevent this,
|
||||
we have made it clear that any patent must be licensed for everyone's
|
||||
free use or not licensed at all.
|
||||
|
||||
Most GNU software, including some libraries, is covered by the ordinary
|
||||
GNU General Public License, which was designed for utility programs. This
|
||||
license, the GNU Library General Public License, applies to certain
|
||||
designated libraries. This license is quite different from the ordinary
|
||||
one; be sure to read it in full, and don't assume that anything in it is
|
||||
the same as in the ordinary license.
|
||||
|
||||
The reason we have a separate public license for some libraries is that
|
||||
they blur the distinction we usually make between modifying or adding to a
|
||||
program and simply using it. Linking a program with a library, without
|
||||
changing the library, is in some sense simply using the library, and is
|
||||
analogous to running a utility program or application program. However, in
|
||||
a textual and legal sense, the linked executable is a combined work, a
|
||||
derivative of the original library, and the ordinary General Public License
|
||||
treats it as such.
|
||||
|
||||
Because of this blurred distinction, using the ordinary General
|
||||
Public License for libraries did not effectively promote software
|
||||
sharing, because most developers did not use the libraries. We
|
||||
concluded that weaker conditions might promote sharing better.
|
||||
|
||||
However, unrestricted linking of non-free programs would deprive the
|
||||
users of those programs of all benefit from the free status of the
|
||||
libraries themselves. This Library General Public License is intended to
|
||||
permit developers of non-free programs to use free libraries, while
|
||||
preserving your freedom as a user of such programs to change the free
|
||||
libraries that are incorporated in them. (We have not seen how to achieve
|
||||
this as regards changes in header files, but we have achieved it as regards
|
||||
changes in the actual functions of the Library.) The hope is that this
|
||||
will lead to faster development of free libraries.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow. Pay close attention to the difference between a
|
||||
"work based on the library" and a "work that uses the library". The
|
||||
former contains code derived from the library, while the latter only
|
||||
works together with the library.
|
||||
|
||||
Note that it is possible for a library to be covered by the ordinary
|
||||
General Public License rather than by this special one.
|
||||
.
|
||||
GNU LIBRARY GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License Agreement applies to any software library which
|
||||
contains a notice placed by the copyright holder or other authorized
|
||||
party saying it may be distributed under the terms of this Library
|
||||
General Public License (also called "this License"). Each licensee is
|
||||
addressed as "you".
|
||||
|
||||
A "library" means a collection of software functions and/or data
|
||||
prepared so as to be conveniently linked with application programs
|
||||
(which use some of those functions and data) to form executables.
|
||||
|
||||
The "Library", below, refers to any such software library or work
|
||||
which has been distributed under these terms. A "work based on the
|
||||
Library" means either the Library or any derivative work under
|
||||
copyright law: that is to say, a work containing the Library or a
|
||||
portion of it, either verbatim or with modifications and/or translated
|
||||
straightforwardly into another language. (Hereinafter, translation is
|
||||
included without limitation in the term "modification".)
|
||||
|
||||
"Source code" for a work means the preferred form of the work for
|
||||
making modifications to it. For a library, complete source code means
|
||||
all the source code for all modules it contains, plus any associated
|
||||
interface definition files, plus the scripts used to control compilation
|
||||
and installation of the library.
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running a program using the Library is not restricted, and output from
|
||||
such a program is covered only if its contents constitute a work based
|
||||
on the Library (independent of the use of the Library in a tool for
|
||||
writing it). Whether that is true depends on what the Library does
|
||||
and what the program that uses the Library does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Library's
|
||||
complete source code as you receive it, in any medium, provided that
|
||||
you conspicuously and appropriately publish on each copy an
|
||||
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||
all the notices that refer to this License and to the absence of any
|
||||
warranty; and distribute a copy of this License along with the
|
||||
Library.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy,
|
||||
and you may at your option offer warranty protection in exchange for a
|
||||
fee.
|
||||
.
|
||||
2. You may modify your copy or copies of the Library or any portion
|
||||
of it, thus forming a work based on the Library, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) The modified work must itself be a software library.
|
||||
|
||||
b) You must cause the files modified to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
c) You must cause the whole of the work to be licensed at no
|
||||
charge to all third parties under the terms of this License.
|
||||
|
||||
d) If a facility in the modified Library refers to a function or a
|
||||
table of data to be supplied by an application program that uses
|
||||
the facility, other than as an argument passed when the facility
|
||||
is invoked, then you must make a good faith effort to ensure that,
|
||||
in the event an application does not supply such function or
|
||||
table, the facility still operates, and performs whatever part of
|
||||
its purpose remains meaningful.
|
||||
|
||||
(For example, a function in a library to compute square roots has
|
||||
a purpose that is entirely well-defined independent of the
|
||||
application. Therefore, Subsection 2d requires that any
|
||||
application-supplied function or table used by this function must
|
||||
be optional: if the application does not supply it, the square
|
||||
root function must still compute square roots.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Library,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Library, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote
|
||||
it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Library.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Library
|
||||
with the Library (or with a work based on the Library) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||
License instead of this License to a given copy of the Library. To do
|
||||
this, you must alter all the notices that refer to this License, so
|
||||
that they refer to the ordinary GNU General Public License, version 2,
|
||||
instead of to this License. (If a newer version than version 2 of the
|
||||
ordinary GNU General Public License has appeared, then you can specify
|
||||
that version instead if you wish.) Do not make any other change in
|
||||
these notices.
|
||||
.
|
||||
Once this change is made in a given copy, it is irreversible for
|
||||
that copy, so the ordinary GNU General Public License applies to all
|
||||
subsequent copies and derivative works made from that copy.
|
||||
|
||||
This option is useful when you wish to copy part of the code of
|
||||
the Library into a program that is not a library.
|
||||
|
||||
4. You may copy and distribute the Library (or a portion or
|
||||
derivative of it, under Section 2) in object code or executable form
|
||||
under the terms of Sections 1 and 2 above provided that you accompany
|
||||
it with the complete corresponding machine-readable source code, which
|
||||
must be distributed under the terms of Sections 1 and 2 above on a
|
||||
medium customarily used for software interchange.
|
||||
|
||||
If distribution of object code is made by offering access to copy
|
||||
from a designated place, then offering equivalent access to copy the
|
||||
source code from the same place satisfies the requirement to
|
||||
distribute the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
5. A program that contains no derivative of any portion of the
|
||||
Library, but is designed to work with the Library by being compiled or
|
||||
linked with it, is called a "work that uses the Library". Such a
|
||||
work, in isolation, is not a derivative work of the Library, and
|
||||
therefore falls outside the scope of this License.
|
||||
|
||||
However, linking a "work that uses the Library" with the Library
|
||||
creates an executable that is a derivative of the Library (because it
|
||||
contains portions of the Library), rather than a "work that uses the
|
||||
library". The executable is therefore covered by this License.
|
||||
Section 6 states terms for distribution of such executables.
|
||||
|
||||
When a "work that uses the Library" uses material from a header file
|
||||
that is part of the Library, the object code for the work may be a
|
||||
derivative work of the Library even though the source code is not.
|
||||
Whether this is true is especially significant if the work can be
|
||||
linked without the Library, or if the work is itself a library. The
|
||||
threshold for this to be true is not precisely defined by law.
|
||||
|
||||
If such an object file uses only numerical parameters, data
|
||||
structure layouts and accessors, and small macros and small inline
|
||||
functions (ten lines or less in length), then the use of the object
|
||||
file is unrestricted, regardless of whether it is legally a derivative
|
||||
work. (Executables containing this object code plus portions of the
|
||||
Library will still fall under Section 6.)
|
||||
|
||||
Otherwise, if the work is a derivative of the Library, you may
|
||||
distribute the object code for the work under the terms of Section 6.
|
||||
Any executables containing that work also fall under Section 6,
|
||||
whether or not they are linked directly with the Library itself.
|
||||
.
|
||||
6. As an exception to the Sections above, you may also compile or
|
||||
link a "work that uses the Library" with the Library to produce a
|
||||
work containing portions of the Library, and distribute that work
|
||||
under terms of your choice, provided that the terms permit
|
||||
modification of the work for the customer's own use and reverse
|
||||
engineering for debugging such modifications.
|
||||
|
||||
You must give prominent notice with each copy of the work that the
|
||||
Library is used in it and that the Library and its use are covered by
|
||||
this License. You must supply a copy of this License. If the work
|
||||
during execution displays copyright notices, you must include the
|
||||
copyright notice for the Library among them, as well as a reference
|
||||
directing the user to the copy of this License. Also, you must do one
|
||||
of these things:
|
||||
|
||||
a) Accompany the work with the complete corresponding
|
||||
machine-readable source code for the Library including whatever
|
||||
changes were used in the work (which must be distributed under
|
||||
Sections 1 and 2 above); and, if the work is an executable linked
|
||||
with the Library, with the complete machine-readable "work that
|
||||
uses the Library", as object code and/or source code, so that the
|
||||
user can modify the Library and then relink to produce a modified
|
||||
executable containing the modified Library. (It is understood
|
||||
that the user who changes the contents of definitions files in the
|
||||
Library will not necessarily be able to recompile the application
|
||||
to use the modified definitions.)
|
||||
|
||||
b) Accompany the work with a written offer, valid for at
|
||||
least three years, to give the same user the materials
|
||||
specified in Subsection 6a, above, for a charge no more
|
||||
than the cost of performing this distribution.
|
||||
|
||||
c) If distribution of the work is made by offering access to copy
|
||||
from a designated place, offer equivalent access to copy the above
|
||||
specified materials from the same place.
|
||||
|
||||
d) Verify that the user has already received a copy of these
|
||||
materials or that you have already sent this user a copy.
|
||||
|
||||
For an executable, the required form of the "work that uses the
|
||||
Library" must include any data and utility programs needed for
|
||||
reproducing the executable from it. However, as a special exception,
|
||||
the source code distributed need not include anything that is normally
|
||||
distributed (in either source or binary form) with the major
|
||||
components (compiler, kernel, and so on) of the operating system on
|
||||
which the executable runs, unless that component itself accompanies
|
||||
the executable.
|
||||
|
||||
It may happen that this requirement contradicts the license
|
||||
restrictions of other proprietary libraries that do not normally
|
||||
accompany the operating system. Such a contradiction means you cannot
|
||||
use both them and the Library together in an executable that you
|
||||
distribute.
|
||||
.
|
||||
7. You may place library facilities that are a work based on the
|
||||
Library side-by-side in a single library together with other library
|
||||
facilities not covered by this License, and distribute such a combined
|
||||
library, provided that the separate distribution of the work based on
|
||||
the Library and of the other library facilities is otherwise
|
||||
permitted, and provided that you do these two things:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work
|
||||
based on the Library, uncombined with any other library
|
||||
facilities. This must be distributed under the terms of the
|
||||
Sections above.
|
||||
|
||||
b) Give prominent notice with the combined library of the fact
|
||||
that part of it is a work based on the Library, and explaining
|
||||
where to find the accompanying uncombined form of the same work.
|
||||
|
||||
8. You may not copy, modify, sublicense, link with, or distribute
|
||||
the Library except as expressly provided under this License. Any
|
||||
attempt otherwise to copy, modify, sublicense, link with, or
|
||||
distribute the Library is void, and will automatically terminate your
|
||||
rights under this License. However, parties who have received copies,
|
||||
or rights, from you under this License will not have their licenses
|
||||
terminated so long as such parties remain in full compliance.
|
||||
|
||||
9. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Library or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Library (or any work based on the
|
||||
Library), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Library or works based on it.
|
||||
|
||||
10. Each time you redistribute the Library (or any work based on the
|
||||
Library), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute, link with or modify the Library
|
||||
subject to these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
.
|
||||
11. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Library at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Library by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Library.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any
|
||||
particular circumstance, the balance of the section is intended to apply,
|
||||
and the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
12. If the distribution and/or use of the Library is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Library under this License may add
|
||||
an explicit geographical distribution limitation excluding those countries,
|
||||
so that distribution is permitted only in or among countries not thus
|
||||
excluded. In such case, this License incorporates the limitation as if
|
||||
written in the body of this License.
|
||||
|
||||
13. The Free Software Foundation may publish revised and/or new
|
||||
versions of the Library General Public License from time to time.
|
||||
Such new versions will be similar in spirit to the present version,
|
||||
but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Library
|
||||
specifies a version number of this License which applies to it and
|
||||
"any later version", you have the option of following the terms and
|
||||
conditions either of that version or of any later version published by
|
||||
the Free Software Foundation. If the Library does not specify a
|
||||
license version number, you may choose any version ever published by
|
||||
the Free Software Foundation.
|
||||
.
|
||||
14. If you wish to incorporate parts of the Library into other free
|
||||
programs whose distribution conditions are incompatible with these,
|
||||
write to the author to ask for permission. For software which is
|
||||
copyrighted by the Free Software Foundation, write to the Free
|
||||
Software Foundation; we sometimes make exceptions for this. Our
|
||||
decision will be guided by the two goals of preserving the free status
|
||||
of all derivatives of our free software and of promoting the sharing
|
||||
and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_accessibility_warnings.html
Normal file
38
www/extras/tinymce2/docs/option_accessibility_warnings.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: accessibility_warnings</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: accessibility_warnings</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
If this option is set to true some accessibility warnings will be presented to the user if they miss specifying that information. This option is set to true default, since we should all try to make this world a better place for disabled people. But if you are annoyed with the warnings, set this option to false.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the accessibility_warnings option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>accessibility_warnings : false</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_add_form_submit_trigger.html
Normal file
38
www/extras/tinymce2/docs/option_add_form_submit_trigger.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: add_form_submit_trigger</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: add_form_submit_trigger</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to turn on/off the onsubmit event listener. This feature adds a onsubmit event listener on all forms on the page, if a form is submitted a tinyMCE.triggerSave() JavaScript calls gets executed, this function moves HTML content from the editor iframe and to the hidden form element. This option is set to true by default.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the add_form_submit_trigger option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>add_form_submit_trigger : false</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_add_unload_trigger.html
Normal file
38
www/extras/tinymce2/docs/option_add_unload_trigger.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: add_unload_trigger</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: add_unload_trigger</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
If you set this option to true, page contents will be stored away is the page is unloaded for example is the user navigates away from the page and then navigated back to it by pressing the back button. This option is set to true by default.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the add_unload_trigger option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>add_unload_trigger : false</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_apply_source_formatting.html
Normal file
38
www/extras/tinymce2/docs/option_apply_source_formatting.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: apply_source_formatting</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: apply_source_formatting</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to tell TinyMCE to apply some source formatting to the output HTML code. This function is disabled by default.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the apply_source_formatting option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>apply_source_formatting : true</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_ask.html
Normal file
38
www/extras/tinymce2/docs/option_ask.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: ask</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: ask</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to add a confirmation dialog when focusing textareas. This dialog asks if the focused textarea should be converted into a editor instance or not. It will only ask once since it would get annoying otherwice. The default value of this option is "false".
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the ask option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>ask : true</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_auto_focus.html
Normal file
38
www/extras/tinymce2/docs/option_auto_focus.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: auto_focus</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: auto_focus</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to auto focus a editor instance. The value of this option should be a editor instance id. Editor instance ids are specified as "mce_editor_<index>" where index is a value starting from 0. So if there are 3 editor instances on a page these would have the following ids mce_editor_0, mce_editor_1 and mce_editor_2.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the auto_focus option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>auto_focus : "mce_editor_2"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_auto_reset_designmode.html
Normal file
38
www/extras/tinymce2/docs/option_auto_reset_designmode.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: auto_reset_designmode</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: auto_reset_designmode</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option is very useful if TinyMCE is used in a DHTML tab system or other divs that are hidden and displayed by some JavaScript. Since Mozilla has a bug when using display:none, the designMode state gets lost. To prevent this from happening you should enable this option. The default value of this option is "true".
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the auto_reset_designmode option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>auto_reset_designmode : true</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_auto_resize.html
Normal file
38
www/extras/tinymce2/docs/option_auto_resize.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: auto_resize</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: auto_resize</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to get the TinyMCE editor area to resize to the bounderies of the contents. This option is very experimental and is set to false by default.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the auto_resize option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>auto_resize : true</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_browsers.html
Normal file
38
www/extras/tinymce2/docs/option_browsers.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: browsers</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: browsers</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option should contain a comma separated list of supported browsers. This enables you to for example disable the editor while running on Safari. The default value of this option is: msie,gecko,safari,opera and since the support for Safari is very limited a warning message will appear until a better version is released. The possible values of this option is msie, gecko and safari.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the browsers option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>browsers : "msie,gecko,opera"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_button_tile_map.html
Normal file
38
www/extras/tinymce2/docs/option_button_tile_map.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: button_tile_map</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: button_tile_map</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
If this option is set to true TinyMCE will use tiled images instead of individual images for most of the editor controls. This produces faster loading time since only one GIF image needs to be loaded instead of a GIF for each individual button. This option is set to false by default since it doesn't work with some DOCTYPE declarations.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the button_tile_map option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>button_tile_map : true</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_cleanup.html
Normal file
38
www/extras/tinymce2/docs/option_cleanup.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: cleanup</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: cleanup</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to turn on/off the build in cleanup functionality. TinyMCE is equipped with powerful cleanup functionality that enables you to specify what elements and attributes are allowed and how HTML contents should be generated. This option is set to true by default, but if you want to disable it you may set it to false. <strong>Notice: It's not recommended to disable this feature.</strong>
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the cleanup option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>cleanup : true</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
72
www/extras/tinymce2/docs/option_cleanup_callback.html
Normal file
72
www/extras/tinymce2/docs/option_cleanup_callback.html
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: cleanup_callback</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: cleanup_callback</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to add custom cleanup logic to TinyMCE. This function is called when the cleanup process is executed this process occures when the editor saves/submits content, user hits the cleanup button and when the HTML editor dialog is presented. The format of this function is: customCleanup(type, value). Where type can be "get_from_editor" when the contents is extracted from TinyMCE for example when the user submits the form. The "insert_to_editor" type value gets passed when new contents is inserted into the editor on initialization or when the HTML editor dialog commits new content. The "get_from_editor_dom" value is executed when cleanup process has a valid DOM tree and is extracted from the editor. The "insert_to_editor_dom" gets passed when the editor has a valid DOM tree and contents has been inserted into the editor. The example below illustrated all these types.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the cleanup_callback option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
function <strong>myCustomCleanup</strong>(type, value) {
|
||||
switch (type) {
|
||||
case "get_from_editor":
|
||||
alert("Value HTML string: " + value);
|
||||
|
||||
// Do custom cleanup code here
|
||||
|
||||
break;
|
||||
|
||||
case "insert_to_editor":
|
||||
alert("Value HTML string: " + value);
|
||||
|
||||
// Do custom cleanup code here
|
||||
|
||||
break;
|
||||
|
||||
case "get_from_editor_dom":
|
||||
alert("Value DOM Element " + value);
|
||||
|
||||
// Do custom cleanup code here
|
||||
|
||||
break;
|
||||
|
||||
case "insert_to_editor_dom":
|
||||
alert("Value DOM Element: " + value);
|
||||
|
||||
// Do custom cleanup code here
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>cleanup_callback : "myCustomCleanup"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_cleanup_on_startup.html
Normal file
38
www/extras/tinymce2/docs/option_cleanup_on_startup.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: cleanup_on_startup</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: cleanup_on_startup</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
If you set this option to true, TinyMCE will perform a HTML cleanup call when the editor loads. This option is set to false by default.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the cleanup_on_startup option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>cleanup_on_startup : true</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_content_css.html
Normal file
38
www/extras/tinymce2/docs/option_content_css.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: content_css</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: content_css</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to specify a custom CSS file that extends the theme content CSS. This CSS file is the one used within the editor (the editable area). The default location of this CSS file is within the current theme.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the content_css option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>content_css : "/mycontent.css"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_convert_fonts_to_spans.html
Normal file
38
www/extras/tinymce2/docs/option_convert_fonts_to_spans.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: convert_fonts_to_spans</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: convert_fonts_to_spans</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>If you set this option to true, all TinyMCE will convert all font elements to span elements and generate span elements instead of font elements. This option should be used inorder to get more W3C compatible code, since font elements are deprecated. How sizes gets converted can be controlled by the <a href="option_font_size_classes.html">font_size_classes</a> and <a href="option_font_size_style_values.html">font_size_style_values</a> options.</p>
|
||||
<p>
|
||||
More information about this subject can be found in this article: <a href="http://www.microsoft.com/typography/web/designer/face7.htm">What's wrong with FONT FACE</a>
|
||||
</p>
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the convert_fonts_to_spans option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>convert_fonts_to_spans : false</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_convert_newlines_to_brs.html
Normal file
38
www/extras/tinymce2/docs/option_convert_newlines_to_brs.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: convert_newlines_to_brs</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: convert_newlines_to_brs</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
If you set this option to true newline characters codes gets converted in to br elements. This option is set to false by default.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the convert_newlines_to_brs option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>convert_newlines_to_brs : true</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
36
www/extras/tinymce2/docs/option_convert_urls.html
Normal file
36
www/extras/tinymce2/docs/option_convert_urls.html
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: convert_urls</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: convert_urls</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>This option enables you to control if TinyMCE is to be clever and restore urls to their original values. URLs are auto converted/messed up by default since the build in browser logic works this way, there is no way to get the real URL unless you store it away. If you set this option to false it will try to keep these URLs intact. This option is set to true by default that means URLs will be forced absolute or relative depending on the state of <a href="option_relative_urls.html">relative_urls</a>.</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the convert_urls option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>convert_urls : false</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_custom_undo_redo.html
Normal file
38
www/extras/tinymce2/docs/option_custom_undo_redo.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: custom_undo_redo</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: custom_undo_redo</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option is a true/false option that enables you to disable/enable the custom undo/redo logic within TinyMCE. This option is enabled by default, if you disable it some operations may not be undoable.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the custom_undo_redo option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>custom_undo_redo : false</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: custom_undo_redo_keyboard_shortcuts</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: custom_undo_redo_keyboard_shortcuts</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to disable/enable the usage of keyboard shortcuts for undo/redo. This feature is enabled by default. Keyboard shortcurs are Ctrl+Z for undo, Ctrl+Y for redo.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the custom_undo_redo_keyboard_shortcuts option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>custom_undo_redo_keyboard_shortcuts : "false"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_custom_undo_redo_levels.html
Normal file
38
www/extras/tinymce2/docs/option_custom_undo_redo_levels.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: custom_undo_redo_levels</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: custom_undo_redo_levels</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option should contain the number of undo levels to keep in memory. This is set to -1 by default and such a value tells TinyMCE to use a unlimited number of undo levels. But this steals lots of memory so for low end systems a value of 10 may be better.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the custom_undo_redo_levels option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>custom_undo_redo_levels : 10</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_debug.html
Normal file
38
www/extras/tinymce2/docs/option_debug.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: debug</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: debug</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
If the value of this option is set to "true" some debugging information will appear such as a list of what CSS files are used. The default value of this option is false.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the debug option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>debug : true</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_dialog_type.html
Normal file
38
www/extras/tinymce2/docs/option_dialog_type.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: dialog_type</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: dialog_type</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to specify how dialogs/popups should be opened, possible values are "window" and "modal", where the window option opens a normal window and the dialog option opens a modal dialog. This option is set to "window" by default.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the dialog_type option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>dialog_type : "modal"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_directionality.html
Normal file
38
www/extras/tinymce2/docs/option_directionality.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: directionality</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: directionality</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option specifies the default writing direction, some languages writes from right to left instead of left to right. The default value of this option is ":ltr" but if you want to use from right to left mode specify "rtl" instead.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the directionality option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>directionality : "rtl"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_docs_language.html
Normal file
38
www/extras/tinymce2/docs/option_docs_language.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: docs_language</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: docs_language</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option should contain a language code of the editor documentation to use with TinyMCE. These codes are in <a href="http://www.loc.gov/standards/iso639-2/englangn.html">ISO-639-2</a> format to see if your language is available check the contents of "tinymce/jscripts/tiny_mce/theme/<theme used>/docs". The default value of this option is the value specified in the "language" option or "en" for English.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the docs_language option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>docs_language : "sv"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
35
www/extras/tinymce2/docs/option_doctype.html
Normal file
35
www/extras/tinymce2/docs/option_doctype.html
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: doctype</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: doctype</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>This option enables you to specify the doctype that is used while editing content within TinyMCE, this defaults to <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">.</p>
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the doctype option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>doctype : "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
36
www/extras/tinymce2/docs/option_document_base_url.html
Normal file
36
www/extras/tinymce2/docs/option_document_base_url.html
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: document_base_url</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: document_base_url</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>This option enables you to specify the URL from where all URLs will be relative to this option is only used when the <a href="option_relative_urls.html">relative_urls</a> option is set to true. The value of this option is set to the current document by default.</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the document_base_url option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>document_base_url : "/somedir/somfile.html"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_editor_css.html
Normal file
38
www/extras/tinymce2/docs/option_editor_css.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: editor_css</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: editor_css</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to specify the CSS to be used for the editor toolbars/user interface of TinyMCE this option is set to a CSS file found in the currently used theme by default. This CSS contains layout information about panels and buttons used by TinyMCE.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the editor_css option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>editor_css : "/myeditor.css"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
49
www/extras/tinymce2/docs/option_editor_deselector.html
Normal file
49
www/extras/tinymce2/docs/option_editor_deselector.html
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: editor_deselector</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: editor_deselector</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to specify a CSS class name that will be deselect textareas from being converted into editor instances. If this option isn't set to a value this option will not have any effect and the <a href="option_mode.html">mode</a> option will choose textareas instead. The default value of this option is "mceNoEditor" so if mceNoEditor is added to the class attribute of a textarea it will be excluded for convertion.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the editor_deselector option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>editor_deselector : "mceNoEditor"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage in the HTML:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
<textarea id="myarea1" class="<strong>mceNoEditor</strong>">This will be a NOT be a editor.</textarea>
|
||||
|
||||
<textarea id="myarea2">This will be a editor.</textarea>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
49
www/extras/tinymce2/docs/option_editor_selector.html
Normal file
49
www/extras/tinymce2/docs/option_editor_selector.html
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: editor_selector</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: editor_selector</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to specify a CSS class name that will be required on the text areas that is to be converted. This enables you to select specific text areas for convertion by adding this CSS class name to the class attribute of the text area. If this option isn't set to a value this option will not have any effect and the <a href="option_mode.html">mode</a> option will choose textareas instead. If you want all editors to be converted and just specific editors to be excluded check the <a href="option_editor_deselector.html">editor_deselector</a> option.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the editor_selector option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>editor_selector : "mceEditor"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage in the HTML:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
<textarea id="myarea1" class="<strong>mceEditor</strong>">This will be a editor.</textarea>
|
||||
|
||||
<textarea id="myarea2">This will NOT be a editor.</textarea>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_elements.html
Normal file
38
www/extras/tinymce2/docs/option_elements.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: elements</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: elements</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option should contain a comma separated list of element id's to convert into editor instances. This option is only used if <a href="option_mode.html">mode</a> is set to "exact".
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the elements option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>elements : "elm1,elm2"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_encoding.html
Normal file
38
www/extras/tinymce2/docs/option_encoding.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: encoding</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: encoding</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to get XML escaped contents out of TinyMCE. Posted content will be converted to a XML string escaping characters such as < > " & to &lt; &gt; &quot; &amp;. This option is set nothing by default and is there for disabled.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the encoding option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>encoding : "xml"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_entities.html
Normal file
38
www/extras/tinymce2/docs/option_entities.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: entities</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: entities</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option contains a comma separated list of entity names that is used instead of characters. Odd items are the character code and even items are the name of the character code. The default value of this option is placed in the example below.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the entities option / default value:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>entities : "160,nbsp,38,amp,34,quot,162,cent,8364,euro,163,pound,165,yen,169,copy,174,reg,8482,trade,8240,permil,181,micro,183,middot,8226,bull,8230,hellip,8242,prime,8243,Prime,167,sect,182,para,223,szlig,8249,lsaquo,8250,rsaquo,171,laquo,187,raquo,8216,lsquo,8217,rsquo,8220,ldquo,8221,rdquo,8218,sbquo,8222,bdquo,60,lt,62,gt,8804,le,8805,ge,8211,ndash,8212,mdash,175,macr,8254,oline,164,curren,166,brvbar,168,uml,161,iexcl,191,iquest,710,circ,732,tilde,176,deg,8722,minus,177,plusmn,247,divide,8260,frasl,215,times,185,sup1,178,sup2,179,sup3,188,frac14,189,frac12,190,frac34,402,fnof,8747,int,8721,sum,8734,infin,8730,radic,8764,sim,8773,cong,8776,asymp,8800,ne,8801,equiv,8712,isin,8713,notin,8715,ni,8719,prod,8743,and,8744,or,172,not,8745,cap,8746,cup,8706,part,8704,forall,8707,exist,8709,empty,8711,nabla,8727,lowast,8733,prop,8736,ang,180,acute,184,cedil,170,ordf,186,ordm,8224,dagger,8225,Dagger,192,Agrave,194,Acirc,195,Atilde,196,Auml,197,Aring,198,AElig,199,Ccedil,200,Egrave,202,Ecirc,203,Euml,204,Igrave,206,Icirc,207,Iuml,208,ETH,209,Ntilde,210,Ograve,212,Ocirc,213,Otilde,214,Ouml,216,Oslash,338,OElig,217,Ugrave,219,Ucirc,220,Uuml,376,Yuml,222,THORN,224,agrave,226,acirc,227,atilde,228,auml,229,aring,230,aelig,231,ccedil,232,egrave,234,ecirc,235,euml,236,igrave,238,icirc,239,iuml,240,eth,241,ntilde,242,ograve,244,ocirc,245,otilde,246,ouml,248,oslash,339,oelig,249,ugrave,251,ucirc,252,uuml,254,thorn,255,yuml,914,Beta,915,Gamma,916,Delta,917,Epsilon,918,Zeta,919,Eta,920,Theta,921,Iota,922,Kappa,923,Lambda,924,Mu,925,Nu,926,Xi,927,Omicron,928,Pi,929,Rho,931,Sigma,932,Tau,933,Upsilon,934,Phi,935,Chi,936,Psi,937,Omega,945,alpha,946,beta,947,gamma,948,delta,949,epsilon,950,zeta,951,eta,952,theta,953,iota,954,kappa,955,lambda,956,mu,957,nu,958,xi,959,omicron,960,pi,961,rho,962,sigmaf,963,sigma,964,tau,965,upsilon,966,phi,967,chi,968,psi,969,omega,8501,alefsym,982,piv,8476,real,977,thetasym,978,upsih,8472,weierp,8465,image,8592,larr,8593,uarr,8594,rarr,8595,darr,8596,harr,8629,crarr,8656,lArr,8657,uArr,8658,rArr,8659,dArr,8660,hArr,8756,there4,8834,sub,8835,sup,8836,nsub,8838,sube,8839,supe,8853,oplus,8855,otimes,8869,perp,8901,sdot,8968,lceil,8969,rceil,8970,lfloor,8971,rfloor,9001,lang,9002,rang,9674,loz,9824,spades,9827,clubs,9829,hearts,9830,diams,8194,ensp,8195,emsp,8201,thinsp,8204,zwnj,8205,zwj,8206,lrm,8207,rlm,173,shy,233,eacute,237,iacute,243,oacute,250,uacute,193,Aacute,225,aacute,201,Eacute,205,Iacute,211,Oacute,218,Uacute,221,Yacute,253,yacute"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_entity_encoding.html
Normal file
38
www/extras/tinymce2/docs/option_entity_encoding.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: entity_encoding</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: entity_encoding</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option controls how entities/characters gets processed by TinyMCE. The value can be set to numeric, named or raw. Where numeric is numeric representation such as "&#160;" named is entity names such as "&nbsp;" and raw is " ". The default value of this option is named, if named is used the <a href="option_entities.html">entities</a> option will be used to convert the codes into names.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the entity_encoding option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>entity_encoding : "raw"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_event_elements.html
Normal file
38
www/extras/tinymce2/docs/option_event_elements.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: event_elements</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: event_elements</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option should contain a comma separated list of elements thay may have event attributes such as onclick and simmilar. This option is needed since some browsers execute these events while editing content. This option is set to "a,img" default.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the event_elements option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>event_elements : "a,img,span"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_extended_valid_elements.html
Normal file
38
www/extras/tinymce2/docs/option_extended_valid_elements.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: extended_valid_elements</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: extended_valid_elements</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option is very similar to <a href="option_valid_elements.html">valid_elements</a> the only diffrance between this option and valid_elements is that this one gets added to the existing rule set. This can be very useful if the existing rule set is fine but you want to add some specific elements that also should be valid.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the extended_valid_elements option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>extended_valid_elements : "img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name]"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
51
www/extras/tinymce2/docs/option_external_image_list_url.html
Normal file
51
www/extras/tinymce2/docs/option_external_image_list_url.html
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: external_image_list_url</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: external_image_list_url</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to have a external list of images this list of images can be generated by a server side page and then inserted into the image dialog windows of TinyMCE. The images can be to internal site images or external URLs.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the external_image_list_url option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>external_image_list_url : "myexternallist.js"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of a external link list file: (myexternallist.js)</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
var tinyMCEImageList = new Array(
|
||||
// Name, URL
|
||||
["Logo 1", "logo.jpg"],
|
||||
["Logo 2 Over", "logo_over.jpg"]
|
||||
);
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
52
www/extras/tinymce2/docs/option_external_link_list_url.html
Normal file
52
www/extras/tinymce2/docs/option_external_link_list_url.html
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: external_link_list_url</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: external_link_list_url</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to have a external list of links this list of links can be generated by a server side page and then inserted into the link dialog windows of TinyMCE. The links can be to internal site documents or external URLs.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the external_link_list_url option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>external_link_list_url : "myexternallist.js"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of a external link list file: (myexternallist.js)</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
var tinyMCELinkList = new Array(
|
||||
// Name, URL
|
||||
["Moxiecode", "http://www.moxiecode.com"],
|
||||
["Freshmeat", "http://www.freshmeat.com"],
|
||||
["Sourceforge", "http://www.sourceforge.com"]
|
||||
);
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
43
www/extras/tinymce2/docs/option_file_browser_callback.html
Normal file
43
www/extras/tinymce2/docs/option_file_browser_callback.html
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: file_browser_callback</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: file_browser_callback</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to add your own file browser/image browser to TinyMCE. This function is executed each time a user clicks on the "browse" buttons in various dialogs. The format of this callback function is: fileBrowser(field_name, url, type, win) where field_name is the id/name of the form element that the browser should insert it's URL into. The url parameter contains the URL value that is currently inside the field. The type parameter contains what type of browser to present this value can be file, image or flash depending on what dialog is calling the function. The win parameter contains a reference to the dialog/window that executes the function.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the file_browser_callback option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
function <strong>myCustomFileBrowser</strong>(field_name, url, type, win) {
|
||||
// Do custom browser logic
|
||||
win.document.forms[0].elements[field_name].value = 'my browser value';
|
||||
}
|
||||
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>file_browser_callback : "myCustomFileBrowser"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_fix_content_duplication.html
Normal file
38
www/extras/tinymce2/docs/option_fix_content_duplication.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: fix_content_duplication</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: fix_content_duplication</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option is available since MSIE has a serious bug where the DOM tree sometimes can include the same node twice. This produces duplication of content when the cleanup process runs. This option is enabled by default and removes any duplicated nodes.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the fix_content_duplication option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>fix_content_duplication : false</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_focus_alert.html
Normal file
38
www/extras/tinymce2/docs/option_focus_alert.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: focus_alert</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: focus_alert</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to specify if a "Editor is not focused" alert message should appear if the user calls tinyMCE.execCommand and havn't selected a editor instance before. This message will normaly not appear unless some integration has been made. Using tinyMCE.execInstanceCommand prevents this from happening since it auto focuses the editor specified. The default value of this option is "true".
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the focus_alert option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>focus_alert : false</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
35
www/extras/tinymce2/docs/option_font_size_classes.html
Normal file
35
www/extras/tinymce2/docs/option_font_size_classes.html
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: font_size_classes</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: font_size_classes</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>Comma separated list of class names that is to be used when the user selects font sizes, this option is only used when the <a href="option_convert_fonts_to_spans.html">convert_fonts_to_spans</a> option is enabled. This list of classes should be 7 items. This option is not used by default, but can be useful if you want to have custom classes for each font size for browser compatiblity.</p>
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the font_size_classes option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>font_size_classes : "fontSize1,fontSize2,fontSize3,fontSize4,fontSize5,fontSize6,fontSize7"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
35
www/extras/tinymce2/docs/option_font_size_style_values.html
Normal file
35
www/extras/tinymce2/docs/option_font_size_style_values.html
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: font_size_style_values</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: font_size_style_values</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>Comma separated list of style values that is to be used when the user selects font sizes, this option is only used when the <a href="option_convert_fonts_to_spans.html">convert_fonts_to_spans</a> option is enabled. This list of style values should be 7 items. This option is not used by default, but can be useful if you want to have custom CSS values for each font size for browser compatiblity. Defaults to: xx-small,x-small,small,medium,large,x-large,xx-large.</p>
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the font_size_style_values option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>font_size_style_values : "xx-small,x-small,small,medium,large,x-large,xx-large"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_force_br_newlines.html
Normal file
38
www/extras/tinymce2/docs/option_force_br_newlines.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: force_br_newlines</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: force_br_newlines</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
If you set this option to true, TinyMCE will force BR elements on newlines instead of inserting paragraphs. This option is set to false by default since paragraphs is a much better concept. You can style P elements to be one row by adding p { margin: 0px; padding: 0px; } to your CSS, P tags where invented for a reason and should be used. <strong>BR elements should only be used when you really have to (mostly never)</strong>.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the force_br_newlines option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>force_br_newlines : true</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
35
www/extras/tinymce2/docs/option_force_hex_style_colors.html
Normal file
35
www/extras/tinymce2/docs/option_force_hex_style_colors.html
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: force_hex_style_colors</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: force_hex_style_colors</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>This option enables you to control TinyMCE to force the color format to use hexa decimal instead of rgb strings. It converts for example "color: rgb(255, 255, 0)" to "#FFFF00". This option is set to true by default since otherwice MSIE and Firefox would differ in this behavior.</p>
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the force_hex_style_colors option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>force_hex_style_colors : false</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_force_p_newlines.html
Normal file
38
www/extras/tinymce2/docs/option_force_p_newlines.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: force_p_newlines</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: force_p_newlines</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to disable/enable the creation of paragraphs on return/enter in Mozilla/Firefox. The default value of this option is true.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the force_p_newlines option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>force_p_newlines : true</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_force_p_newliness.html
Normal file
38
www/extras/tinymce2/docs/option_force_p_newliness.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: force_p_newliness</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: force_p_newliness</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
...
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the force_p_newliness option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>force_p_newliness : ""</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_height.html
Normal file
38
www/extras/tinymce2/docs/option_height.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: height</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: height</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option gives you the ability to specify the height of the editor in pixels or percent. This height can be very userful to specify if the editor is used in hidden tabs or if the editor area should be bigger than the replaced element. The default value of this option is set to the height of the HTML element TinyMCE replaces for example the pixel height of a textarea.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the height option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>height : "480"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
42
www/extras/tinymce2/docs/option_init_instance_callback.html
Normal file
42
www/extras/tinymce2/docs/option_init_instance_callback.html
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: init_instance_callback</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: init_instance_callback</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option should contain a function name to be executed each time a editor instance is initialized. The format of this function is: initInstance(inst) where inst is the editor instance object reference.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the init_instance_callback option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
function <strong>myCustomInitInstance</strong>(inst) {
|
||||
alert("Editor: " + inst.editorId + " is now initialized.");
|
||||
}
|
||||
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>init_instance_callback : "myCustomInitInstance"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_inline_styles.html
Normal file
38
www/extras/tinymce2/docs/option_inline_styles.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: inline_styles</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: inline_styles</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
If you enable the inline styles feature by setting this option to true. Most of the attributes gets converted into CSS style attributes instead. This will make the editor output more XHTML strict compatible.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the inline_styles option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>inline_styles : true</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
57
www/extras/tinymce2/docs/option_insertimage_callback.html
Normal file
57
www/extras/tinymce2/docs/option_insertimage_callback.html
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: insertimage_callback</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: insertimage_callback</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to override the build in functionality for inserting images. This option should contain a function name to be executed when a new image is inserted into TinyMCE. The format of this callback function is: insertImage(src, alt, border, hspace, vspace, width, height, align, title, onmouseover, onmouseout, action). Where most of these options are self explained the action can be "update" or "insert" depending on what operation type. This function should return an array with the same values as the incomming parameters, the example below describes how this is done. This option is set to a internal TinyMCE function by default.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the insertimage_callback option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
function <strong>myCustomInsertImage</strong>(src, alt, border, hspace, vspace, width, height, align, title, onmouseover, onmouseout, action) {
|
||||
var result = new Array();
|
||||
|
||||
// Do some custom logic
|
||||
result['src'] = "logo.jpg";
|
||||
result['alt'] = "test description";
|
||||
result['border'] = "2";
|
||||
result['hspace'] = "5";
|
||||
result['vspace'] = "5";
|
||||
result['width'] = width;
|
||||
result['height'] = height;
|
||||
result['align'] = "right";
|
||||
result['title'] = "Some title";
|
||||
result['onmouseover'] = "";
|
||||
result['onmouseout'] = "";
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>insertimage_callback : "myCustomInsertImage"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
50
www/extras/tinymce2/docs/option_insertlink_callback.html
Normal file
50
www/extras/tinymce2/docs/option_insertlink_callback.html
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: insertlink_callback</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: insertlink_callback</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to override the build in functionality for inserting links. This option should contain a function name to be executed when a new link is inserted into TinyMCE. The format of this callback function is: insertLink(href, target, title, onclick, action). Where most of these options are self explained the action can be "update" or "insert" depending on what operation type. This function should return an array with the same values as the incomming parameters, the example below describes how this is done. This option is set to a internal TinyMCE function by default.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the insertlink_callback option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
function <strong>myCustomInsertLink</strong>(href, target, title, onclick, action) {
|
||||
var result = new Array();
|
||||
|
||||
// Do some custom logic
|
||||
result['href'] = "some_page.htm";
|
||||
result['target'] = "_self";
|
||||
result['title'] = "Some link title";
|
||||
result['onclick'] = "";
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>insertlink_callback : "myCustomInsertLink"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_invalid_elements.html
Normal file
38
www/extras/tinymce2/docs/option_invalid_elements.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: invalid_elements</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: invalid_elements</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option should contain a comma separated list of element names to exclude from the content. Elements in this list will removed when TinyMCE executes a cleanup.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the invalid_elements option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>invalid_elements : "strong,em"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
42
www/extras/tinymce2/docs/option_language.html
Normal file
42
www/extras/tinymce2/docs/option_language.html
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: language</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: language</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option should contain a language code of the language pack to use with TinyMCE. These codes are in <a href="http://www.loc.gov/standards/iso639-2/englangn.html">ISO-639-2</a> format to see if your language is available check the contents of "tinymce/jscripts/tiny_mce/langs". The default value of this option is "en" for English.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
If TinyMCE doesn't have a language pack for your language you could always write your own and contribute this back to this project by uploading it as a Patch at <a href="http://sourceforge.net/projects/tinymce/">SourceForge</a>. A description on how to create language packs can be found in <a href="customization_language_packs.html">Language packs</a> section.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the language option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>language : "en"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: merge_styles_invalid_parents</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: merge_styles_invalid_parents</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>This option enables you to specify a regexp with elements you want to exclude from parent mergeing. By default style information are attached to the parent element of a selection if all childrent/the whole element contents is selected. For example if you select a whole strong element and select a font size, the font-size style will be applied to the strong element and not with a wrapping style element. But sometimes you want to force a span element, this is where this option comes in to place. This option is set to nothing by default and applies to the font size/face/color and class drop drown lists.</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the merge_styles_invalid_parents option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
// Excludes table cells and strong elements from any parent merge operation
|
||||
<strong>merge_styles_invalid_parents : "^TD|STRONG$"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
54
www/extras/tinymce2/docs/option_mode.html
Normal file
54
www/extras/tinymce2/docs/option_mode.html
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: mode</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: mode</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option specifies how elements is to be converted into TinyMCE WYSIWYG editor instances. This option can be set to any of the values below.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<h3>textareas</h3>
|
||||
Converts all textarea elements to editors when the page loads.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<h3>specific_textareas</h3>
|
||||
Converts all textarea elements with the a <a href="option_textarea_trigger.html">textarea_trigger</a> attribute set to "true".
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<h3>exact</h3>
|
||||
exact - Converts only explicit elements, these are listed in the <a href="option_elements.html">elements</a> option. These elements can be any kind for example textareas or divs.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the mode option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>mode : "exact",</strong>
|
||||
elements : "elm1,elm2"
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_nowrap.html
Normal file
38
www/extras/tinymce2/docs/option_nowrap.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: nowrap</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: nowrap</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This nowrap option enables you to control how whitespace is to be wordwrapped within the editor. This option is set to false by default, but if you enable it by setting it to true editor contents will never wrap.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the nowrap option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>nowrap : true</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_object_resizing.html
Normal file
38
www/extras/tinymce2/docs/option_object_resizing.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: object_resizing</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: object_resizing</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This true/false option gives you the ability to turn on/off the inline resizing controls of tables and images in Firefox/Mozilla. These are enabled by default.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the object_resizing option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>object_resizing : false</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
43
www/extras/tinymce2/docs/option_onchange_callback.html
Normal file
43
www/extras/tinymce2/docs/option_onchange_callback.html
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: onchange_callback</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: onchange_callback</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option should contain a function name to be executed each time contents is modified by TinyMCE. This function is called each time a undo level is added to TinyMCE. The format of this function is: onchange(inst), where inst is the editor instance object reference.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the onchange_callback option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
function <strong>myCustomOnChangeHandler</strong>(inst) {
|
||||
alert("Some one modified something");
|
||||
alert("The HTML is now:" + inst.getBody().innerHTML);
|
||||
}
|
||||
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>onchange_callback : "myCustomOnChangeHandler"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
42
www/extras/tinymce2/docs/option_oninit.html
Normal file
42
www/extras/tinymce2/docs/option_oninit.html
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: oninit</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: oninit</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to specify a function name to be executed when all editor instances has finished it's initialization. This is much like the onload event of a HTML page.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the oninit option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
function <strong>myCustomOnInit</strong>() {
|
||||
alert("We are ready to rumble!!");
|
||||
}
|
||||
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>oninit : "myCustomOnInit"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
42
www/extras/tinymce2/docs/option_plugins.html
Normal file
42
www/extras/tinymce2/docs/option_plugins.html
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: plugins</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: plugins</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option should contain a comma separated list of plugins. Plugins are loaded from the "tinymce/jscripts/tiny_mce/plugins" directory and the plugin name matches the name of the directory. TinyMCE is shipped with some core plugins these are described in greater detail in the <a href="reference_plugins.html">Plugins reference</a>.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
There are many third party plugins for TinyMCE some of these may be found under "Plugins" at <a href="http://sourceforge.net/projects/tinymce/">SourceForge</a> and if you have developed one of your own please contribute it to this project by uploading it to SourceForge.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the plugins option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>plugins : "table,contextmenu,paste"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_popups_css.html
Normal file
38
www/extras/tinymce2/docs/option_popups_css.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: popups_css</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: popups_css</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to specify the CSS to be used in all popup/dialog windows within TinyMCE this option is set to a CSS file found in the currently used theme by default.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the popups_css option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>popups_css : "/mypopup.css"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_preformatted.html
Normal file
38
www/extras/tinymce2/docs/option_preformatted.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: preformatted</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: preformatted</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
If you enable this feature, whitespace such as tabs and spaces will be preserved. Much like the bahavior of a PRE element. This can be handy when integrating TinyMCE with webmail clients. This option is disabled by default.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the preformatted option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>preformatted : true</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
36
www/extras/tinymce2/docs/option_relative_urls.html
Normal file
36
www/extras/tinymce2/docs/option_relative_urls.html
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: relative_urls</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: relative_urls</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>If this option is set to true, all URLs returned from the MCFileManager will be relative from the specified <a href="option_document_base_url.html">document_base_url</a> if it's set to false all URLs will be converted to absolute URLs. This feature can not be disabled since MSIE and FF modifies the URLs of DOM objects by them self so TinyMCE tries to solve this problem by reconverting them. This option is set to true by default.</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the relative_urls option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>relative_urls : false</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_remove_linebreaks.html
Normal file
38
www/extras/tinymce2/docs/option_remove_linebreaks.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: remove_linebreaks</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: remove_linebreaks</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option controls if linebreak characters should be removed from output HTML or not. This option is enabled by default since many backend systems use newline to <br /> convertion since they used to be plain old textarea based. With this option enables all HTML content will be placed on one line.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the remove_linebreaks option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>remove_linebreaks : false</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
37
www/extras/tinymce2/docs/option_remove_script_host.html
Normal file
37
www/extras/tinymce2/docs/option_remove_script_host.html
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: remove_script_host</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: remove_script_host</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>If this option is enabled the protocol and host part of the URLs returned from the MCFileManager will be removed. This option is only used if the <a href="option_relative_urls.html">relative_urls</a> option is set to false. This option is set to true by default.</p>
|
||||
<p>URL:s will be returned in this format: "/somedir/somefile.htm" instead of the default mode: "http://www.somesite.com/somedir/somefile.htm".</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the remove_script_host option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>remove_script_host : false</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
45
www/extras/tinymce2/docs/option_save_callback.html
Normal file
45
www/extras/tinymce2/docs/option_save_callback.html
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: save_callback</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: save_callback</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to add custom logic to be executed when the contents is extracted/saved. This custom logic can then modify the contents before it's submited to a serverside page. This can be useful if you want to do your own regexp cleanups and so forth. The format of this function is: saveContent(element_id, html, body). Where element id is the form element/div id of the editor and HTML is the HTML contents after the build in cleanup process has executed. This function should return the new HTML contents.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the save_callback option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
function <strong>myCustomSaveContent</strong>(element_id, html, body) {
|
||||
// Do some custom HTML cleanup
|
||||
html = html.replace(/a/g,'b');
|
||||
|
||||
return html;
|
||||
}
|
||||
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>save_callback : "myCustomSaveContent"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
43
www/extras/tinymce2/docs/option_setupcontent_callback.html
Normal file
43
www/extras/tinymce2/docs/option_setupcontent_callback.html
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: setupcontent_callback</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: setupcontent_callback</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to execute custom setup content logic when the editor initializes. The format of this callback is:
|
||||
setupContent(editor_id, body, doc). Where editor_id is the TinyMCE editor instance id the editor instance object reference can be retrived by using tinyMCE.getInstanceById(editor_id). The body parameter is a reference to the iframes body element and doc is the iframes document element. This option is not used if it's not specified.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the setupcontent_callback option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
function myCustomSetupContent(editor_id, body, doc) {
|
||||
body.innerHTML = "my new content" + body.innerHTML;
|
||||
}
|
||||
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>setupcontent_callback : "myCustomSetupContent"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_submit_patch.html
Normal file
38
www/extras/tinymce2/docs/option_submit_patch.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: submit_patch</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: submit_patch</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This toggle option enables you to turn on/off the auto patching of the submit function in forms. TinyMCE will auto move contents from the iframe to the hidden textarea field if for example a JavaScript uses a form[0].submit() call. This is the same as using the tinyMCE.triggerSave() call. This option is set to true by default.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the submit_patch option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>submit_patch : false</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
38
www/extras/tinymce2/docs/option_table_inline_editing.html
Normal file
38
www/extras/tinymce2/docs/option_table_inline_editing.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: table_inline_editing</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: table_inline_editing</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This true/false option gives you the ability to turn on/off the inline table editing controls in Firefox/Mozilla. These controls are somewhat buggy and not redesignable so they are disabled by default.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the table_inline_editing option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>table_inline_editing : true</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
47
www/extras/tinymce2/docs/option_textarea_trigger.html
Normal file
47
www/extras/tinymce2/docs/option_textarea_trigger.html
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: textarea_trigger</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: textarea_trigger</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to specify the name of the attribute to check if it's value is true/false. If the <a href="option_mode.html">mode</a> option is set to "specific_textareas", only specific textareas with a attribute by the name of the value of this option gets converted and only if it's set to true. This option defaults to "mce_editable".
|
||||
</p>
|
||||
|
||||
<p>
|
||||
If the mode is set to textareas and the textarea trigger attribute value is set to false, these textareas will not be converted.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<strong>Notice: This option is deprecated.</strong>
|
||||
We strongly recommend you to use the <a href="option_editor_selector.html">editor_selector</a>/<a href="option_editor_deselector.html">editor_deselector</a> options instead since they validate with W3C specifications.<strong>
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the textarea_trigger option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>textarea_trigger : "convert_this"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
49
www/extras/tinymce2/docs/option_theme.html
Normal file
49
www/extras/tinymce2/docs/option_theme.html
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: theme</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: theme</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option enables you to specify what theme to use when rendering the TinyMCE WYSIWYG editor instances. This name matches the directories located in "tinymce/jscripts/tiny_mce/themes". The default value of this option is "advanced". TinyMCE has three build in themes and these are described in greater detail below.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<h3>advanced</h3>
|
||||
This is the advanced theme of TinyMCE, this theme enables users to add/remove buttons and panels and is a lot more flexible than the simple or default theme. For more information about this themes specific options check the "Advanced theme" configuration section.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<h3>simple</h3>
|
||||
This is the most simple theme for TinyMCE it contains only the basic functions.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the theme option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>theme : "advanced",</strong>
|
||||
theme_advanced_buttons3_add_before : "tablecontrols,separator"
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: theme_advanced_blockformats</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: theme_advanced_blockformats</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option should contain a comma separated list of block formats the default value of this option is "p,address,pre,h1,h2,h3,h4,h5,h6". This option is only available if the advanced theme is used.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the theme_advanced_blockformats option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>theme_advanced_blockformats : "p,h1,h2,h3,h4,h5,h6"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: theme_advanced_buttons<1-n></title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: theme_advanced_buttons<1-n></h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option should contain a comma separated list of button/control names to insert into the toolbar. The number 1-n is the row number to insert the buttons/controls to. Below is a list of build in controls, plugins may include other controls names that can be inserted but these are documented in the individual plugins.
|
||||
This option can only be used when <a href="option_theme.html">theme</a> is set to advanced and when the <a href="option_theme_advanced_layout_manager.html">theme_advanced_layout_manager</a> option is set to the default value of "SimpleLayout".
|
||||
</p>
|
||||
<p>
|
||||
A complete reference of all built in buttons and controls can be found in the <a href="reference_buttons.html">button/control reference</a> page.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the theme_advanced_buttons<1-n> option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>theme_advanced_buttons1 : "separator,insertdate,inserttime,preview,zoom,separator,forecolor,backcolor"</strong>
|
||||
<strong>theme_advanced_buttons2 : "bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,link,unlink,anchor,image,cleanup,help,code"</strong>
|
||||
<strong>theme_advanced_buttons3 : "hr,removeformat,visualaid,separator,sub,sup,separator,charmap"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: theme_advanced_buttons<1-n_add></title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: theme_advanced_buttons<1-n_add></h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option should contain a comma separated list of button/control names to add to the end of the specified toolbar row. The number 1-n is the row number to add the buttons/controls to. Below is a list of build in controls, plugins may include other controls names that can be inserted but these are documented in the individual plugins.
|
||||
This option can only be used when <a href="option_theme.html">theme</a> is set to advanced and when the <a href="option_theme_advanced_layout_manager.html">theme_advanced_layout_manager</a> option is set to the default value of "SimpleLayout".
|
||||
</p>
|
||||
<p>
|
||||
A complete reference of all built in buttons and controls can be found in the <a href="reference_buttons.html">button/control reference</a> page.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the theme_advanced_buttons<1-n>_add option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>theme_advanced_buttons1_add : "separator,insertdate,inserttime,preview,zoom,separator,forecolor,backcolor"</strong>
|
||||
<strong>theme_advanced_buttons2_add : "bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,link,unlink,anchor,image,cleanup,help,code"</strong>
|
||||
<strong>theme_advanced_buttons3_add : "hr,removeformat,visualaid,separator,sub,sup,separator,charmap"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: theme_advanced_buttons<1-n_add_before></title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: theme_advanced_buttons<1-n_add_before></h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option should contain a comma separated list of button/control names to add to the beginning of the specified toolbar row. The number 1-n is the row number to add the buttons/controls to. Below is a list of build in controls, plugins may include other controls names that can be inserted but these are documented in the individual plugins.
|
||||
This option can only be used when <a href="option_theme.html">theme</a> is set to advanced and when the <a href="option_theme_advanced_layout_manager.html">theme_advanced_layout_manager</a> option is set to the default value of "SimpleLayout".
|
||||
</p>
|
||||
<p>
|
||||
A complete reference of all built in buttons and controls can be found in the <a href="reference_buttons.html">button/control reference</a> page.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the theme_advanced_buttons<1-n>_add_before option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>theme_advanced_buttons1_add_before : "separator,insertdate,inserttime,preview,zoom,separator,forecolor,backcolor"</strong>
|
||||
<strong>theme_advanced_buttons2_add_before : "bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,link,unlink,anchor,image,cleanup,help,code"</strong>
|
||||
<strong>theme_advanced_buttons3_add_before : "hr,removeformat,visualaid,separator,sub,sup,separator,charmap"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: theme_advanced_container_<container></title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: theme_advanced_container_<container></h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option should contain buttons/control that you wich to insert into the container, the button names available is the same as in the <a href="option_theme_advanced_buttons_n.html">theme_advanced_buttons_<1-3></a> option but two extra controls available when this layout option is used these are "mceEditor" and "mceElementpath". The <container> part of this option should be replaced with a name within the <a href="option_theme_advanced_containers.html">theme_advanced_containers</a> list. This option can only be used when <a href="option_theme.html">theme</a> is set to advanced and when the <a href="option_theme_advanced_layout_manager.html">theme_advanced_layout_manager</a> option is set to the value of "RowLayout".
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the theme_advanced_container_<container> option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>theme_advanced_container_somecontainer1 : "bold,italic",</strong>
|
||||
<strong>theme_advanced_container_somecontainer2 : "strikethrough,cut"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: theme_advanced_container_align</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: theme_advanced_container_<container>_align</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option is used to set the alignment of a specific containerer. The <container> part of this option should be replaced with a name within the <a href="option_theme_advanced_containers.html">theme_advanced_containers</a> list. This option can only be used when <a href="option_theme.html">theme</a> is set to advanced and when the <a href="option_theme_advanced_layout_manager.html">theme_advanced_layout_manager</a> option is set to the value of "RowLayout".
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the theme_advanced_container_<container>_align option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>theme_advanced_container_somecontainer1_align : "left"</strong>
|
||||
<strong>theme_advanced_container_somecontainer2_align : "right"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: theme_advanced_container_<container>_class</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: theme_advanced_container_<container>_class</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option is used to set the class of a specific container. The <container> part of this option should be replaced with a name within the <a href="option_theme_advanced_containers.html">theme_advanced_containers</a> list. This option can only be used when <a href="option_theme.html">theme</a> is set to advanced and when the <a href="option_theme_advanced_layout_manager.html">theme_advanced_layout_manager</a> option is set to the value of "RowLayout".
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the theme_advanced_container_<container>_class option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>theme_advanced_container_somecontainer1_class : "someclass",</strong>
|
||||
<strong>theme_advanced_container_somecontainer2_class : "someotherclass"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: theme_advanced_containers</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: theme_advanced_containers</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option should contain a comma separated list of container/panel names. These names are then matched agains the other container options. This option can only be used when <a href="option_theme.html">theme</a> is set to advanced and when the <a href="option_theme_advanced_layout_manager.html">theme_advanced_layout_manager</a> option is set to the value of "RowLayout".
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the theme_advanced_containers option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>theme_advanced_containers : "mycontainer1,mycontainer2"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: theme_advanced_containers_default_align</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: theme_advanced_containers_default_align</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option should contain the default container/panel alignment this can be a value of "left", "center" or "right". This option can only be used when <a href="option_theme.html">theme</a> is set to advanced and when the <a href="option_theme_advanced_layout_manager.html">theme_advanced_layout_manager</a> option is set to the value of "RowLayout".
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the theme_advanced_containers_default_align option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>theme_advanced_containers_default_align : "left"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: theme_advanced_containers_default_class</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: theme_advanced_containers_default_class</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option should contain the default container/panel class name. This option can only be used when <a href="option_theme.html">theme</a> is set to advanced and when the <a href="option_theme_advanced_layout_manager.html">theme_advanced_layout_manager</a> option is set to the value of "RowLayout".
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the theme_advanced_containers_default_class option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>theme_advanced_containers_default_class : "myPanelClass"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Option: theme_advanced_custom_layout</title>
|
||||
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h1>Option: theme_advanced_custom_layout</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option is used to specify a custom layout manager function. The format of this function is: customLayout(template) where template is the template array within the advanced theme, this function should return a new template array containing the editor HTML in a key called html. This option can only be used when <a href="option_theme.html">theme</a> is set to advanced and when the <a href="option_theme_advanced_layout_manager.html">theme_advanced_layout_manager</a> option is set to the value of "RowLayout".
|
||||
|
||||
CustomLayout
|
||||
|
||||
template
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3>Example of usage of the theme_advanced_custom_layout option:</h3>
|
||||
<div class="example">
|
||||
<pre>
|
||||
function <strong>myCustomLayout</strong>(template) {
|
||||
// Make custom layout
|
||||
template['html'] = "make new layout";
|
||||
|
||||
return template;
|
||||
}
|
||||
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>theme_advanced_custom_layout : "myCustomLayout"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue