Jquery editor xhEditor

Source: Internet
Author: User
Tags closing tag

: Http://xheditor.googlecode.com/files/xheditor-0.9.7-fix-zh-cn.zip

XhEditor is a simple, small, fast WYSWYG (What You See What You Get) XHTML editor based by jQuery. that is webbased and compatible with Internet Explorer 6.0-8.0, Firefox 3.0, Opera 9.6, Chrome 1.0, Safari 3.22.

XhEditor is a simple mini and efficient visual XHTML editor developed based on jQuery. It is web-based and compatible with IE 6.0-8.0, Firefox 3.0, Opera 9.6, Chrome 1.0, and Safari 3.22.

Features (Features ):
  • Small: initially load 5 files, including: 1 js (45 k) + 2 css (7 k) + 2 images (4 k), a total of 56 k. If the js and css files are compressed and transmitted by gzip, it can be further reduced to about 21 kb.
  • Fast: developed based on the jQuery engine to provide efficient code execution efficiency
  • Simple: a Simple call method. With a class attribute, You can instantly turn your textarea into a visual editor with rich functions.
  • Word: implements automatic detection and cleaning of Word Code, provides an efficient and perfect Word Code filtering solution, optimizes and simplifies the generated code, but does not lose any details.
  • UBB: provides the perfect UBB visual editing solution. You can enjoy the convenience of visual editing while obtaining secure and efficient code storage.
Demo (Demo ):
  • Default Mode: http://static.pirate9.com/js/xheditor_demos/demo1.html
  • Custom button: http://static.pirate9.com/js/xheditor_demos/demo2.html
  • Skin Selection: http://static.pirate9.com/js/xheditor_demos/demo3.html
  • Other options: http://static.pirate9.com/js/xheditor_demos/demo4.html
  • Javascript Interaction: http://static.pirate9.com/js/xheditor_demos/demo5.html
  • Non UTF-8 encoded webpage call: http://static.pirate9.com/js/xheditor_demos/demo6.html
  • UBB visual Editing: http://static.pirate9.com/js/xheditor_demos/demo7.html
  • Ajax file upload: http://static.pirate9.com/js/xheditor_demos/demo8.html
  • Plug-in extension: http://static.pirate9.com/js/xheditor_demos/demo9.html
  • Iframe call file upload: http://static.pirate9.com/js/xheditor_demos/demo10.html
Ver 0.9.7 fix Change (2009-8-3)
  1. Adjust: after the original picture is inserted, the default status is selected. After you press the key under IE, the page will be rolled back instead of being deleted. Now, after the picture is inserted, the focus will be moved to the rear of the image.
  2. Fixed: fixed the problem that the filtering function was invalid due to a severe error in regular statements.
  3. Fixed: due to the incomplete absolute correction function of the previous version, the animation and video addition and modification failed to work normally. This problem only occurs in version 0.9.7.
  4. Fixed: the problem that the source code of images, animations, and videos returned by operabrowser disappears due to the incomplete relative change of the absolute correction function.
Ver 0.9.7 Change (2009-7-21)
  1. Adjust: the Label display function is changed from the original display in the upper left corner and increased by 8 pixels to display in the upper right corner and not increased
  2. Adjustment: The settings variable in the editor is changed from the original internal variable to the public variable to facilitate dynamic modification of parameters from the outside.
  3. Fixed: fixed the incorrect font effect conversion in Chrome, which only appeared in version 0.9.6.
  4. Fixed: In a non-WebKit kernel, the problem of invalid hexadecimal color values with 3 characters was corrected. For example:<Span style = "color: #999"> aaa </span>
  5. Fixed: fixed the problem of changing relative addresses to absolute addresses when adding images or links to appendHTML and pasteHTML functions.
  6. Fixed: The XHTML Formatting Function was further improved, for example:<B> aaa <bbb </B>Before modification, <bbb content disappears, and the BUG disappears after modification.
  7. Fixed: after the previous expression is inserted, the current expression is selected by default. Now it is corrected to insert the expression, and the cursor is positioned after the expression, so that the new expression can be inserted later.
  8. Add: the ajax upload function is modularized to enable the upload function for links, animations, and videos without increasing the code size.
  9. Add: In readonly mode, all the buttons except full screen and available buttons are disabled and the content cannot be edited. You can switch the status using the toggleReadonly interface.
  10. Add: showModal interface, imitating the desktop program's mode window, you must complete the window events or close the window to return to the window, the program has been extended to the ajax upload module, and can be called in the plug-in
Ver 0.9.6 Change (2009-6-14)
  1. Fixed the problem that the color style of a span tag may be lost or changed to another color in some cases.
  2. Fixed: in IE browser, the cursor may run to the end of the page in some cases due to the unsatisfactory solution of the original cursor loss.
  3. Fixed: In Chrome and Safari browsers, switching to the source code mode fails to cover the entire window (currently only partially corrected)
  4. Fixed: some non-box models cannot be used in full screen rendering by browsers.
  5. Fixed: since both the XHTML 1.0 Strict DTD and HTML 5 standards have been completely disabled<Strike>Therefore, the output code<Strike>Change tags<Del>
  6. Delete: in some cases, css and HTML paths must be used to create style effects (<Span> test </span>) Cleanup function
  7. Add: Some browsers (such as IE) will automatically change src, href, and other attributes to absolute paths. Therefore, the property value auto save function is added and can be disabled during initialization: keepValue: false
  8. Add: Add a forced line feed for IE browser. If you have always entered an English letter, a horizontal scroll bar will be generated in the editor window.
  9. Fixed: fixed the error in height and width Calculation During Editor interface initialization.
  10. Add: the range of the dialog adaptive visual window is displayed, and the display is automatically left when the range on the right of the screen is exceeded.
  11. Adjustment: Given the popularity of networks and most authoritative software<Br/>Add a space in the middle to display the following:<Br/>Therefore, this editor also changes to the self-closing tag output with spaces.
  12. Add: Add a Custom button to customize the style, display name, shortcut key, and Event code of the button. For more information, see demo9.
Ver 0.9.5 Change (2009-6-3)
  1. Add: The jQuery event layer takes over the focus event of textarea to solve the problem of focusing on textarea after some form validation components are hidden by textarea (the focus Method of jQuery must be used)
  2. Add: add the appendHTML function to the JS interface to add HTML code to the end of the editor.
  3. Add: filter HTML code similar to meaningless:<B> aaa </B> <B> bbb </B>, The front and back labels are exactly the same without any attributes and styles, and there is no need to end and open
  4. Added: Image Upload function. You can set the uploadUrl parameter to enable it during editor initialization.
  5. Add: the background color and strikethrough function are added in UBB mode. Now all tags are supported and the ubb button set is deleted.
  6. Add: the focus and blur interfaces of the editor, which can be specified during editor initialization.
  7. Add: Add initialization parameters: the editor initializes the source code mode by default: sourceMode
  8. Fixed: Some page standards that do not support box models may not be able to be full-screen, such as those without any standard definitions<Html>Header
  9. Corrected: when calling a JS file, if the file is added with a similar name at the end? Code like v = 0.9.4 may cause serious initial editor errors.
Ver 0.9.4 Change (2009-5-2)
  1. Fixed the BUG that full screen mode exceeded the screen in IE or other browsers.
  2. Fixed: BUG where the force P tag is invalid in some cases
  3. Add: Support for adding tables in UBB Mode
  4. Fixed the BUG of some tag conversion errors in UBB mode.
  5. Add: UBB mode server script Conversion Function (php, asp)
  6. Fixed: The jQuery BUG is skipped in the kernel. Currently, the official 1.3.2 js engine can be used directly.
  7. Adjustment: To avoid case inconsistency, the interface called by the plug-in is changed to lower case, for example, $ ('# elm1'). xheditor (true );
  8. Fixed: some minor bugs in the kernel
Ver 0.9.3 Change (2009-4-28)
  1. Add: UBB visual editing plug-in (add the beforeSetSource and beforeGetSource interfaces)
  2. Add: force p tag function (optional)
  3. Modify: added two values for the class attribute initialization mode: xheditor-mini and xheditor-simple, respectively calling the mini and simple editor interfaces.
  4. Modify: small adjustments to images and interfaces
Ver 0.9.2 Change (2009-4-27)
  1. Fixed: the bug that some labels cannot be replaced due to incorrect regular expressions.
  2. Add: Section label selection function: p, h1, h2, h3, h4, h5, h6, pre, address
  3. Add: section area and Label display
  4. Add: Table Addition
Http://static.pirate9.com/js/xheditor_demos/installtb.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.