---
title: "RTE fügt bei backspace <span style=\"font-size: 13px;\"> ein"
url: "https://www.typo3.net/d/125669-rte-fuegt-bei-backspace-span-stylefont-size-13px-ein"
source: "typo3.net"
tags: ["Backend","RTE & CKEditor","Frage","TYPO3 7"]
created: "2017-02-03"
last_reply: "2017-02-03"
replies: 0
solved: false
page: 1
pages: 1
lang: "de"
---

# RTE fügt bei backspace <span style="font-size: 13px;"> ein

Backend › RTE & CKEditor · 0 Antworten · gestartet 2017-02-03

## Eröffnungsbeitrag

**3dxO** · 2017-02-03 · [Beitrag #1](https://www.typo3.net/d/125669-rte-fuegt-bei-backspace-span-stylefont-size-13px-ein/1)

Hallo,
ich habe eine Typo3 Seite übernommen, bei der ein seltsames Verhalten auftritt.

Wenn man im RTE mit backspace eine zweite Zeile an die vorhergehende "ranzieht" entsteht um die "herangezogene" Zeile ein span-Tag: <span style="font-size: 13px;">...</span>

Was mag dafür verantwortlich sein, und wie kann ich das abschalten?

beste Grüße,
Christian

Mit dem RTE hab ich mich so noch nicht auseinandergesetzt, daher kann ich auch nicht erkennen, ob hier vll etwas faul ist:

```typoscript
RTE.classes >
RTE.classesAnchor >
RTE.default >

RTE.default {
	contentCSS = data/style/rte.css
	showButtons = *
	proc {
		strong.allowedAttribs = class, style
		span.allowedAttribs = class, style
		preserveDIVSections = 1
		overrideMode = css_transform
		allowTags = table, tbody, tr, th, td, h1, h2, h3, h4, h5, h6, div, p, br, span, ul, ol, li, strong, em, b, i, u, sub, sup, a, img, hr, abbr, abbreviation, center
		table {
			fixAttrib.style.unset = 1
			fixAttrib.width.unset = 1
			fixAttrib.height.unset = 1
		}
		tr {
			fixAttrib.style.unset = 1
			fixAttrib.width.unset = 1
			fixAttrib.height.unset = 1
		}
		td {
			fixAttrib.style.unset = 1
			fixAttrib.width.unset = 1
			fixAttrib.height.unset = 1 
		}
		p {
			fixAttrib.style.unset = 0
		}
		entryHTMLparser_db = 1
		entryHTMLparser_db {
                        allowTags < RTE.default.proc.allowTags
                        denyTags < RTE.default.proc.denyTags
                        tags {
                        	strong.fixAttrib.align.unset >
                        	strong.allowedAttribs = class,style
                        }
		}
		dontConvBRtoParagraph = 1
	}

	buttons.image.options.plain.maxWidth = 750
		
}

HTMLparser_rte.allowTags < RTE.default.proc.allowTags

lib.parseFunc_RTE.externalBlocks := addToList(pre)
lib.parseFunc_RTE.externalBlocks {
	pre.stripNL=1
	pre.stdWrap.parseFunc = < lib.parseFunc
	pre.stdWrap.parseFunc.makelinks = 0
}

RTE.default.allowedTags := appendString(,br)
```

---

Quelle: „RTE fügt bei backspace <span style="font-size: 13px;"> ein“, typo3.net, https://www.typo3.net/d/125669-rte-fuegt-bei-backspace-span-stylefont-size-13px-ein
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
