Bug #15798
closedCan't create Links in RTE! Link-Window won't close and link is not set
0%
Description
After updateing to rtehtmlarea 1.2.0 it is not possible anymore to create links in the editor. After selecting text and clicking the link-button the link-window opens as it should but when I click on a page where the link should point the window won't close anymore and the link is not created. outside the RTE it works.
PageTS:
mod.SHARED.colPos_list = 0,2
TCEMAIN.permissions.groupid = 23
TCEMAIN.permissions.user = 31
TCEMAIN.permissions.group = 31
TCEMAIN.permissions.everybody = 1
RTE.config.tt_content.bodytext.proc.allowedClasses = kleiner
RTE.default {
contentCSS = fileadmin/template/main/style.css
removeTags = sdfield,font,center
removeTagsAndContents = style,script
showButtons = textstyle, formatblock, bold, italic, underline, strikethrough, subscript, superscript, left, center, right, justifyfull, orderedlist, unorderedlist, outdent, indent, textindicator, emoticon, insertcharacter, line, link, table, user, acronym, findreplace, chMode, removeformat, copy, cut, paste, undo, redo, showhelp, about, toggleborders, tableproperties, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge
hideButtons = image
removeTrailingBR = 1
hidePStyleItems = H1, H2, H4, H5, H6, ADDRESS
showStatusBar = 1
useCSS = 1
classesCharacter = vielkleiner, kleiner, groesser, vielgroesser
}
RTE.config.tt_content.bodytext.showButtons < RTE.default.showButtons
TCEFORM.tt_content {
spaceBefore.disabled = 1
spaceAfter.disabled = 1
section_frame.disabled = 1
header_layout.disabled = 1
image_noRows.disabled = 1
imageborder.disabled = 1
layout.disabled = 1
colPos.removeItems = 1,3
colPos.showItems = 0,2
}
TCEFORM.pages {
layout.disabled = 1
target.disabled = 1
nav_title.disabled = 1
tx_realurl_pathsegment.disabled = 1
lastUpdated.disabled = 1
subtitle.disabled = 1
}
(issue imported from #M2820)
Updated by Stanislas Rolland over 18 years ago
I cannot reproduce this problem. Is this happening in Internet Explorer, in Firefox/Mozilla?
Updated by Matthias Nagl over 18 years ago
It's happening in Firefox across several versions and platforms. I didn't try it in IE
Updated by Stanislas Rolland over 18 years ago
Please report what error you get in the JavaScript console.
Updated by Matthias Nagl over 18 years ago
9 times the following error is displayed:
Fehler: Unbekannte Eigenschaft 'border-radius'. Deklaration ignoriert.
Quelldatei: https://www.physik.uni-marburg.de/typo3/stylesheet.css
Zeile: 206
and then:
Fehler: Fehler beim Verarbeiten des Wertes für Eigenschaft 'margin-top'. Deklaration ignoriert.
Quelldatei: https://www.physik.uni-marburg.de/typo3/stylesheet.css
Zeile: 436
Fehler: Fehler beim Verarbeiten des Wertes für Eigenschaft 'margin-bottom'. Deklaration ignoriert.
Quelldatei: https://www.physik.uni-marburg.de/typo3/stylesheet.css
Zeile: 436
Fehler: document.ltargetform.anchor_class has no properties
Quelldatei: https://www.physik.uni-marburg.de/typo3conf/ext/rtehtmlarea/mod3/browse_links.php?&RTEtsConfigParams=tt_content%3A2511%3Abodytext%3A718%3Atext%3A718%3A&editorNo=1&typo3ContentLanguage=&typo3ContentCharset=iso-8859-1&popupname=link&srcpath=..%2Fmod3%2Fbrowse_links.php
Zeile: 58
Updated by Stanislas Rolland over 18 years ago
What default configuration are you using?
Do you have the same problem for all types of links: internal, external, mail?
Updated by Matthias Nagl over 18 years ago
For internal links (pages and files) the link-window won't close after clicking on the target and the link doesn't appear. For external links and email-links the link-window reloads after clicking on the "set link" button and shows the window for internal links on pages.
Updated by Stanislas Rolland over 18 years ago
What default configuration are you using?
Updated by Matthias Nagl over 18 years ago
I'm using the minimal configuration with the PageTS above. Further settings are:
[enableImages] 0
[enableMozillaExtension] 1
[enableCompressedScripts] 1
Updated by Stanislas Rolland over 18 years ago
ok, thanks for all the info.
I am now able to reproduce the problem.
The problem occurs when RTE.default.classesAnchor is empty.
Updated by Stanislas Rolland over 18 years ago
Corrected in TYP3core CVS branch TYPO3_4-0.
This will be corrected in version 1.3.1 of htmlArea RTE (requires TYPO3 4.0).