简体   繁体   English

WYSIWYG HTML / CSS编辑器,可以生成div,float,padding

[英]WYSIWYG HTML/CSS editor which can generate div, float, padding

Say, I want to align 4 images in a single row, with spacing among each images according to my preference. 说,我想在一行中对齐4个图像,根据我的喜好在每个图像之间间隔。 Most of the time, I have to achieve this by hand coded HTML/CSS using div, float, padding... 大多数时候,我必须使用div,float,padding手工编写HTML / CSS来实现这一点......

I try to speed up my development process, by trying several WYSIWYG editor like http://ckeditor.com/ , http://tinymce.moxiecode.com/ ... 我试着加快我的发展过程中,通过尝试一些所见即所得的编辑器一样http://ckeditor.com/http://tinymce.moxiecode.com/ ...

None of them able to achieve this, without the need of hand code. 没有手动代码,他们都无法实现这一目标。

I was wondering, in current market, is there any WYSIWYG HTML/CSS editor which can generate div, float, padding... 我想知道,在目前的市场中,是否有任何WYSIWYG HTML / CSS编辑器可以生成div,float,padding ......

This seems a bit custom for a WYSIWYG editor. 对于WYSIWYG编辑器来说,这似乎有点习惯。 I would try to write a simple plugin for TinyMCE. 我会尝试为TinyMCE编写一个简单的插件。 They don't need to be very complicated: 它们不需要非常复杂:

http://sourceforge.net/tracker/?atid=738747&group_id=103281&func=browse http://sourceforge.net/tracker/?atid=738747&group_id=103281&func=browse

I was recently turned on to WYMEditor , which is a What You Mean Is What You Get editor. 我最近转向了WYMEditor ,这是一个你的意思是你得到的编辑器。 It generates very semantic markup and allows you to create custom styles/classes that can be applied for exactly that kind of case. 它生成非常语义的标记,并允许您创建可以应用于这种情况的自定义样式/类。 Have a look at their demos and check it out for yourself. 看看他们的演示并亲自检查一下。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM