Previously thought that the web's online editor is nothing more than the substitution of input content and the quick insertion of HTML code, but do find that although the principle is that, but the implementation method is not as rigid as I think. Because it's very rare to do something on the UI, it's only now known that there are execcommand methods in document to solve the problem of inserting
In fact, the role of ASX file is not limited to the production of MSN Space Playback index file, can also make local playlist files, the site's music index files, many network radio stations list is just an ASX file, which recorded the network address of different stations.
ASX file is the Microsoft Streaming Media Format index file, normal ASX is in the form of text to record ASF or WMV and other multimedia file address and way of the multimedia index file, it is the main purpose of the convec
In the past, I thought that the WEB online editor is nothing more than replacing the input content and inserting HTML code quickly. However, while doing so, I found that although the principle is the same, but the implementation method is not as rigid as I thought. Since there are few things on the UI, it is only now known that the execCommand method in document can solve the problem of inserting
It's strange that, as Eclipse's "big" Ide doesn't bring its own HTML editor, so I foundEclipse HTML editor plugin
.
Http://amateras.sourceforge.jp/cgi-bin/fswiki_en/wiki.cgi? Page = eclipsehtmleditor
Follow official steps to install GEF (Graphical editing framework)Use th
Initializebehaviors ()
* Function insertelement (Element)
* Function Insertelementandgetit (e)
* Function inserthtml (HTML)
* function IsDirty ();
* Function makeeditable ()
* Function OnDoubleClick (Element)
* Function Paste ()
* Function Pasteasplaintext ()
* Function Pastefromword ()
* Function Preview ()
* Function Registerdoubleclickhandler (handlerfunction, tag)
* function Resetisdirty ();
* Function sethtml (
1. Download the latest version of Kindeditor.2. Put the Kindeditor in your website directory, random directory, as long as the path set to the right can!3. Add the TextArea input box to display the location of the editor. If you already have textarea, add an ID to the attribute.textareaID= "Content_1"name= "Content"style= "width:700px;height:300px;">textarea>4. Add the Kindeditor reference to the appropriate page
We know that we can make changes to HTML files, and the editors used in IE can have Notepad, Frontpage Editor, Microsoft Word, and so on. All we need to do is click on the small arrow on the right side of the edit button to pop up these editing tools and then select our custom editor. But if we click on the Edit button, the default
I used to think that the online editor of the web was nothing more than a replacement for the input and a quick way to insert HTML code, but when I did it I found that although the principle was the same, the implementation was not as rigid as I thought. Since I seldom do anything on the UI, I now know that there is a ExecCommand method in document to solve the problem of inserting
If you want to save html to the database, you cannot edit the article again. If you want to store markdown, you must format the article when displaying it, if the markdown resolution used by the backend is different from the markdown editor standard, the backend needs to be different...
If you store html in the database, you cannot edit the article again.
I
Reference from: http://ueditor.baidu.com/website/document.html
About the HTML editor, try FCKeditor, upgrade version of the CKEditor, and TinyMCE, and recently tried to use Baidu Ueditor. Contrast or feel ueditor configuration is simpler, quick to start and documents and examples are also very complete. So here the ueditor1.2.3.0php version of the UTF-8 version as an example of the use of ueditor to comb t
(1) jwysiwyg WYSIWYG jquery plugin. The size of the entire editor file is only 17kb. (2) Damn small Rich Text Editor Developed based on jquery, you can create a Rich Text Editor from the IFRAME element. Provides all basic rich text functions, including setting the size of the text editing area and uploading images through Ajax. Damn small Rich Text
Yesterday, I was ready to improve the HTML compatibility of the background editor for Chrome and FireFox. Question about how to obtain the HTML compatibility of selected content in the JS Editor: For how to obtain the selected text (including Html tags), the answer on the in
1. PreparationsThe extracted files are as follows:
2. Create an ASP. net mvc 2.0 Razor project and select "null.A. Add A JQuery file, such:
B. Add an HtmlBox file, such:
Because of Path Problems, you may not be able to see the edited small image. Therefore, modify the path of the htmlbox. full. js image as shown in the selected line:
Note: To display the htmlboxlogoin the editing tool, you can delete the logo.gif in the imagesunder the htmlboxfolder.3. Add a TestModel class to Modes with two att
It can be combined with different programming languages such as PHP, JavaScript, ASP, ASP.net, ColdFusion, Java, and ABAP. FCK configuration and use are simple, but the default configuration does not meet all requirements, so we need to know some FCK advanced features.
Get an instance of FCK
Fckeditorapi is a global object that is registered after FCKeditor is loaded, and we can use it to complete various operations on the editor.
Get FCK
Forms such as:
Copy Code code as follows:
Varoeditor=fckeditorapi.getinstance (' content ');
Varcontent=oeditor.getxhtml (TRUE);
*************************************************
Using JavaScript to fetch and set FCKeditor values is also very easy, as follows:
Copy Code code as follows:
Get HTML content in editor
function Geteditorhtmlcontents (editorname) {
var
that you use the ASP version when modifying a piece of content.
Next look at the JS version:
BasePath settings as described above, the JS version can be used in any Web page, even for HTML pages, because it is generated by the client, the advantage is that one can reduce network traffic, because the editor file only download once, two can be defined by the clie
:
Copy Code code as follows:
Dim Ofckeditor
Set ofckeditor = New FCKeditor
Ofckeditor.basepath = "/"
Ofckeditor.toolbarset = "Default"
Ofckeditor.width = "100%"
Ofckeditor.height = "400"
Ofckeditor.value = RS ("Logbody")
Ofckeditor.create "Logbody"
%>
ASP version, of course, can only be used in an. asp for the extension of the page, if you have in the previous fckedito.asp set BasePath to "/", here you
Kindeditor is used in ASP. Kindeditor version 3.3.1.1. Download the latest version of Kindeditor. Open the download page.2. Put the Kindeditor in your website directory, random directory, as long as the path set to the right can!3. Add the TextArea input box to display the location of the editor. If you already have textarea, add an ID to the attribute.4. Add the Kindeditor reference to the appropriate
If you put the HTML into the database, if you need to edit the article again, you can't do it.
If you store markdown,
When the article is displayed, you need to format the article, if the backend uses Markdown parsing and the Markdown Editor standard is not the same, but also prone to problems
The backend needs an extra distinction between articles published with the Rich text
The freemarker template file uses the Freemarker IDE provided under JBoss Tools, the online installation method is:help–> install New software click and, and then enter the location in the dialog box: http://download.jboss.org/jbosstools/ Updates/development/indigo/,name can take one. All available plugins are then listed, and if you only need to install the Freemarker IDE, you can find and select it under JBoss application development and then follow the wizard to install it successfully. exit
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.