Php does not use components to parse word & nbsp; use fckeditor attachments to upload word documents & nbsp; after the upload is successful, the editing area displays the word content instead of the uploaded path & nbsp; and the word format is automatically cleared, & nbsp; pictures and tables should also be taken into account. & nbsp; picture should be parsed by php without using components
After a word file is uploaded using the fckeditor attachment, the content of the word is displayed in the editing area instead of the upload path and the word format is automatically cleared. In addition, pictures and tables must be stored on the server for php fckeditor.
------ Solution --------------------
Reference:
After a word file is uploaded using the fckeditor attachment, the content of the word is displayed in the editing area, instead of the upload path, and the word format is automatically cleared. images and tables must be stored on the server.
Php
Fckeditor
This function uses controls to upload images in Word to the server. Common JS cannot be implemented. You can search for the Word Image upload control on the Internet. You already have mature controls on the Internet.
------ Solution --------------------
Reference:
After a word file is uploaded using the fckeditor attachment, the content of the word is displayed in the editing area, instead of the upload path, and the word format is automatically cleared. images and tables must be stored on the server.
Php
Fckeditor
The landlord try this control: http://www.cnblogs.com/xproer/archive/2011/04/08/2009500.html
1. FCKEditor2.x. Copy an image from the clipboard, local hard disk, third-party software, or Word document, and click "paste image" in the editor toolbar. The image is automatically uploaded to the Web server.
2. FCKEditor2.x editor. Uploaded
3. CKEditor3.x editor.
4. CKEditor3.x-Paste Excel
5. KindEditor3.x-paste the image
6. KindEditor4.x-Paste Excel
The Xproer. WordPaster integration code is as follows:
WordPaster For FCKEditor-2.x
Script
Script
Script
Script
Var pasterMgr = new PasterManager ();
PasterMgr. Config ["PostUrl"] = "http: // localhost: 10727/asp.net/upload.aspx ";
PasterMgr. Load (); // Load the control
Var oFCKeditor = new FCKeditor ('txtcontent ');