【问题标题】:Want to add google ads code in editor in Drupal想在 Drupal 的编辑器中添加谷歌广告代码
【发布时间】:2014-09-29 11:48:49
【问题描述】:

我想在内容类型中添加谷歌广告代码,但是当我尝试执行此编辑器时,请从广告中删除 ins 标记。我在 Drupal 7.x 中使用 ck-Editor

谢谢

【问题讨论】:

    标签: drupal-7 drupal-6


    【解决方案1】:

    我没有检查在 CK-editor 中添加 Google Ads 代码,但如果“标签被删除”只是您的问题,您可以按照以下说明解决此问题。

    1. Navigate to admin->configurations->Text Formats.
    2. Select a format FilterHTML/FullHTML for change its configurations.
    3. On the edit form you will be able to insert tags which you want to allow by CK-editor from you editors source code.
    

    这将默认显示,但如果不适合您,请在表单中选中上方的复选框选项“限制允许的 HTML 标记”。现在清除缓存并检查。它可能会解决您的问题。

    【讨论】:

      猜你喜欢
      • 2020-05-26
      • 2019-11-17
      • 1970-01-01
      • 2019-02-01
      • 2020-11-24
      • 2013-10-03
      • 2013-05-22
      • 1970-01-01
      • 2016-09-09
      相关资源
      最近更新 更多