如何在我的PHP代码中实现tinyMCE编辑器 [英] how to implement tinyMCE editor in my php code

查看:109
本文介绍了如何在我的PHP代码中实现tinyMCE编辑器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有tinymce编辑器,但我在实现方面遇到了一些问题。



我需要在我的php中实现微小的mce编辑器的步骤。



任何人帮助???? :doh:

解决方案

TinyMCE是一个Javascript编辑器;它与PHP无关。您可以简单地将它放在PHP部分之外的页面中,或者使用PHP( echo )输出生成完整的TinyMCE代码(在这种情况下,您可以使用一些参数)。



我认为您也可以使用Web表单中的编辑器并组织将编辑过的内容发布到HTTP服务并使用PHP处理帖子,但这与工作没有太大区别使用常规表格和控件。这个问题在标准PHP手册中有详细描述。



-SA


 <  !DOCTYPE     html  >  
< html >
< head >
< title > 演示| Prettify.JS < / title >
< / head >
< body >
< h1 > ; Hello,World!< / h1 >
< / body >
< / html >


Hi,

I have tinymce editor but i have some problem in implementation.

I need steps for implement tiny mce editor in my php.

Anybody help???? :doh:

解决方案

TinyMCE is a Javascript editor; it has nothing to do with PHP. You can simply put it in your page outside PHP part or generate full TinyMCE code using PHP (echo) output (in this case you can use some parameters).

I think you could also use the editor inside Web forms and organize the posting of the edited content to the HTTP service and process the post with PHP, but this is not very different from working with regular forms and controls. This matter is well described in standard PHP manual.

—SA


<!DOCTYPE html>
<html>
<head>
<title>Demo | Prettify.JS</title>
</head>
<body>
<h1>Hello, World!</h1>
</body>
</html>


这篇关于如何在我的PHP代码中实现tinyMCE编辑器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆