google-code-export / xheditor

Automatically exported from code.google.com/p/xheditor
GNU Lesser General Public License v3.0
1 stars 1 forks source link

关于文件上传模式的问题 #151

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
老大,RC3版本中,要上传文件必须采用下面这种方式吗:
$('#elm4').xheditor
({upImgUrl:"uploadthumb.php",upImgExt:"jpg,jpeg,gif,png"});

能否像RC2那样直接在xheditor-zh-cn.js文件中初始:
d("textarea.xheditor-simple").xheditor
({tools:"simple",upLinkUrl:"xheditor/xheditor_upload.asp",upLinkExt:"zip,ra
r,txt",upImgUrl:"xheditor/xheditor_upload.asp",upImgExt:"jpg,jpeg,gif,png"}
)

如果可以,需要怎么改一下代码?谢谢了!

Original issue reported on code.google.com by edge...@126.com on 6 May 2010 at 1:41

GoogleCodeExporter commented 9 years ago
老大,不好意思,又看了一下,好像RC2版中的那部分代码是��
�自己加上的。RC3也已经加上了。
再次感谢老大开发出如此强悍又小巧的编辑器!

Original comment by edge...@126.com on 6 May 2010 at 2:19

GoogleCodeExporter commented 9 years ago
xheditor-simple方式一直有的啊
请看:http://xheditor.com/demos/demo01.html

Original comment by yanis.w...@gmail.com on 6 May 2010 at 3:05

GoogleCodeExporter commented 9 years ago
老大,本来这个问题已经解决了,但你这么一说,又稍稍有��
�么点迷惑,呵呵。
你看附件里的两个图片,都是今天的截图,你说的:
xheditor-simple方式一直有的啊
请看:http://xheditor.com/demos/demo01.html
但我在demo01.html中没有找到“上传按钮”,不知道是不是我表
达地不对,让你误解了。
可以不用回复了哦!

Original comment by edge...@126.com on 6 May 2010 at 6:17

Attachments:

GoogleCodeExporter commented 9 years ago
请使用向导生成代码:http://xheditor.com/wizard.html

Original comment by yanis.w...@gmail.com on 6 May 2010 at 7:03

GoogleCodeExporter commented 9 years ago

Original comment by yanis.w...@gmail.com on 6 May 2010 at 12:00