简体   繁体   English

Drupal 网络表单中的字段之一可以是所见即所得的 HTML 字段吗?

[英]Can one of the fields in a Drupal webform be Wysiwyg HTML field?

I want to have a field in a Drupal Webform where users can input some formatted HTML (tables, headers, etc.) Is there a way to do that?我想在 Drupal 网络表单中有一个字段,用户可以在其中输入一些格式化的 HTML(表格、标题等)。有没有办法做到这一点?

Yes.是的。 The form element is called "Text format."表单元素称为“文本格式”。 This sounds like a format selector of some kind, but it's actually a text element.这听起来像是某种格式选择器,但它实际上是一个文本元素。 If you set it to "Basic HTML," for example, the CKEditor WYSYWIG loads.例如,如果将其设置为“基本 HTML”,则会加载 CKEditor WYSYWIG。

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

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