xhEditor is a simple, mini and efficient visual XHTML editor developed based on jQuery. It is based on network access and compatible with IE 6.0-8.0, Firefox 3.0, Opera 9.6, Chrome 1.0, Safari 3.22.
Features:
Small: 5 files are initially loaded, including: 1 js (36k) + 2 css (6k) + 2 images (4k), a total of 46k. If js and css files are gzip compressed, they can be further reduced to about 18k.
Fast: developed based on jQuery engine to provide efficient code execution efficiency
Simple: A simple calling method, adding a class attribute can instantly turn your textarea into a feature-rich visual editor.
Word: Automatically detects and cleans Word code, provides an efficient and perfect Word code filtering solution, and generates code that is optimized and streamlined without losing any details.
UBB: Provides the perfect UBB visual editing solution, which allows you to obtain safe and efficient code storage while enjoying the convenience of visual editing.
ver 0.9.6 Change(2009-6-14)
1. Correction: During the editing process of the color style of the span tag, in some cases it will be lost or converted to another color.
2. Correction: Under IE browser, due to the unsatisfactory solution for the original cursor loss, the cursor will run to the end of the page in some cases.
3. Fix: In Chrome and Safari browsers, the problem that the full window cannot be opened when switching to source code mode (currently only partially fixed)
4. Correction: Further correction to the problem that some non-box model browsers cannot be rendered in full screen
5. Correction: Since has been completely disabled in both XHTML 1.0 Strict DTD and HTML 5 specifications, the output code tags are uniformly changed to
6. Delete: Since in some cases it is necessary to use css and HTML paths to create style effects, the meaningless tag (test) cleaning function is cancelled.
7. Add: Some browsers (IE, etc.) will automatically change attributes such as src and href into absolute paths, so add the attribute value automatic saving function and allow this function to be turned off during initialization: keepValue: false
8. Added: Add forced line break for IE browser. Originally, if you keep inputting a certain English letter, a horizontal scroll bar will be generated in the editor window.
9. Correction: Fixed the problem of incorrect calculation of height and width when the editor interface is initialized.
10. Added: The pop-up dialog adapts to the visual window area, and it automatically displays to the left when it exceeds the right range of the screen.
11. Adjustment: In view of the fact that it is popular on the Internet and most authoritative software to add spaces in the middle of
, which is displayed as follows:
, this editor has also changed to self-closing tag output with spaces.
12. Add: Add custom button function, you can customize the style, display name, shortcut key and event code of the button. For specific usage, please refer to demo9
Expand