Skip to content

comments - add Reply doesn't work #3673

Open
MacKP opened this Issue Dec 5, 2011 · 5 comments

4 participants

@MacKP
MacKP commented Dec 5, 2011

When you don't have klicked the checkbox before (no Reply) and you klick at the Checkbox you will get an extra TinyMCE. But it is not possible to klick in the window. You can't write an Reply. At least it will work, when you save the page with an empty Reply.

Regards

@leofeyer
Contao member

It does work in Chrome and Safari, so I assume it is a TinyMCE bug. I will update all plugins before the final release, so if you report the issue there, they might provide a fix.

@LeoUnglaub

@MacKP is there a javascript error in your firefox console?

@leofeyer
Contao member
leofeyer commented Jan 6, 2012

I can confirm the issue in Firefox, however there is no fix availabel. It does work fine in all other browsers (FF is becoming the new IE). Maybe you can report the issue at the TinyMCE bug tracker?

@MacKP
MacKP commented Nov 26, 2015

Leider funktioniert das auch beim neuen TinyMCE nicht (kann man in der Demo testen). Ich finde auch nichts beim TinyMCE dazu. Ich würde denen ja ein Ticket machen. Aber ich weiß nicht, wie ich denen das begreiflich machen soll, was denn da genau zu diesem Problem führt :(

@Aybee
Aybee commented Nov 26, 2015

Sieht irgendwie so aus, als müsste TinyMCE nach dem Ajax auf diese Textarea neu aufgesetzt werden. Bzw. irgendetwas beim Aufsetzen geht schief, weil der RTE-Rahmen ist ja vorhanden. Nur das HTML in dem IFRAME sieht nach dem Ajax erstmal so aus.

<html>
  <head>
  </head>
  <body>
  </body>
</html>

Es müsste aber so aussehen.

<html>
  <head>
    <style id="mceDefaultStyles" type="text/css">
      .mce-content-body div.mce-resizehandle {
        position: absolute;
        border: 1px solid black;
        background: #FFF;
        width: 5px;
        height: 5px;
        z-index: 10000
      }
      .mce-content-body .mce-resizehandle:hover {
        background: #000
      }
      .mce-content-body img[data-mce-selected], hr[data-mce-selected] {
        outline: 1px solid black;
        resize: none
      }
      .mce-content-body .mce-clonedresizable {
        position: absolute;
        opacity: .5;
        filter: alpha(opacity=50);
        z-index: 10000
      }
      .mce-content-body .mce-resize-helper {
        background: #555;
        background: rgba(0,0,0,0.75);
        border-radius: 3px;
        border: 1px;
        color: white;
        display: none;
        font-family: sans-serif;
        font-size: 12px;
        white-space: nowrap;
        line-height: 14px;
        margin: 5px 10px;
        padding: 5px;
        position: absolute;
        z-index: 10001
      }
      img:-moz-broken {
        -moz-force-broken-image-icon: 1;
        min-width: 24px;
        min-height: 24px
      }
    </style>
    <base href="http://demo.contao.org/">
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <link href="http://demo.contao.org/assets/tinymce4/skins/contao/content.min.css" rel="stylesheet" type="text/css">
    <link href="http://demo.contao.org/system/themes/tinymce.css" rel="stylesheet" type="text/css">
    <link href="http://demo.contao.org/files/tinymce.css" rel="stylesheet" type="text/css">
  </head>
  <body contenteditable="true" data-id="ctrl_reply" class="mce-content-body " id="tinymce">
    <p><br data-mce-bogus="1"></p>
  </body>
</html>
@leofeyer leofeyer modified the milestone: x.x.x Apr 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.