New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not possible to set an id for the a-tag in the TinyMCE #6618
Comments
Hast du es auch in der TinyMCE Config erlaubt? |
Da es nicht mein Problem ist und ich es nur für jemanden aus dem Forum gemeldet habe, hatte ich es bei mir nicht mit Anpassung im Tiny getestet. Hatte ich bisher gar nicht auf dem Schirm.
Damit funktioniert es. |
What exactly is the use case? |
Im Fall im Forum werden vom Fließtext Fußnoten angesprungen und von den Fußnoten kann wieder zurück in den Text gesprungen werden. |
Sounds very specific to me and thus adjusting the |
Für mich ok. Irritierend für Nutzer ist es immer, wenn etwas, dass früher funktioniert hat jetzt nicht mehr funktioniert. |
The TinyMCE version has changed frequently with Contao and with that features always were added, removed or changed. |
Ich denke, dann sollten wir es lassen wie es ist und wer das braucht muss es halt im Template anpassen. |
Kann das unter Umständen auch noch davon abhängen, welche Version des Tiny MCE installiert ist? In der 4.13 ist das doch nicht zwingend einheitlich oder täusche ich mich da. |
I could not reproduce it with TinyMCE 4 either. Closing in favor of #6721 |
Description ----------- This reverts commit 46339e0. Fixes #6618 It is unclear why this was necessary in the first place. All attributes, including `data-lightbox`, `id`, `rel` and `style` for example, work out of the box with our current default TinyMCE configuration. Commits ------- cee8368 Revert "Allow data-lightbox in TinyMCE by default (see #5559)"
Affected version(s)
4.13 und 5.2
Description
Für den a-Tag im TinyMCE lässt sich keine ID setzen - auch dann nicht, wenn man explizit noch einmal die ID in den Sicherheitseinstellungen beim a-Tag erlaubt. Wenn man versucht für das a-Tag in der Quellcodeansicht des TinyMCE eine ID zu setzen, dann wird diese nach dem speichern komplett gelöscht. Eine Klasse funktioniert. Auch das Setzen einer ID für andere Element z.B. p-Tag funktioniert.
Siehe dazu auch https://community.contao.org/de/showthread.php?86062-id-Attribut-im-Anker
Ist das aus Sicherheitsgründen notwendig oder ein Bug?
The text was updated successfully, but these errors were encountered: