We have moved to GitHub Issues
You are viewing the read-only archive of Umbraco's issue tracker. To create new issues, please head over to GitHub Issues.
Make sure to read the blog posts announcing the move for more information.
Created by Rasmus Eeg Møller 28 Jan 2016, 06:33:12 Updated by Simon Busborg 02 Feb 2016, 13:15:51
What did you do? Crete new style sheet in settings, and add the following formats:
a.btn.btn-primary
as buttonh1
as heading
Created a default grid layout, selected the new style with the formats.
Added new section and row with an RTE editor.
Added heading "Lorem ipsum"
Added link "click here" and select format: buttonWhat did you expect to happen? The format being applied
What actually happened? The format was not applied, and i lost focus from the rte editor. The focus is annoying when applied formats.
1 Attachments
Hi @rasmuseeg, TinyMCE strips as default the id atrribute from span, I've allowed them into our extended valid elements, so this no longer should be a problem.
Another way to solve it is to change the RTE style aliases not to use id's but classes since id's are something the devil invented :)
I've made a pull request to fix this issue. Test it by adding more styles to the RTE styles that uses id's.
@rasmuseeg afaik you cannot add multiple classes to an element using RTE styles. If you need to use {{.btn.btn-success}} you need to combine the CSS to one class.
It is also not possible to use anchor tags, that is what the insert/edit link button is for :)
@rune fixed issue when the rte lost focus, it's been reviews and merged https://github.com/umbraco/Umbraco-CMS/pull/1072
Priority: Normal
Type: Bug
State: Fixed
Assignee:
Difficulty: Normal
Category: Editor
Backwards Compatible: True
Fix Submitted:
Affected versions: 7.4.0
Due in version: 7.4.0
Sprint: Sprint 8
Story Points:
Cycle: