Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#1493 closed New Feature (wontfix)

Possibility to define the default block element attributes

Reported by: Jon Håvard Gundersen Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Discussion Pending Cc:

Description

It would be nice to have the ability to define the attributes the default block element should have. We are using 'p' as entermode and only classes to define the different styles in the text.

The customer have the option to define the default paragraph style. It would have been nice if every methods instead of creating a empty paragraph tag created a paragraph with default attributes (e.g. default classname).

Change History (5)

comment:1 Changed 11 years ago by Alfonso Martínez de Lizarrondo

Keywords: Discussion Pending added

Isn't easier to change your stylesheet so the default paragraph style is applied to a clean <p>?

What happens when the user selects "clean format"?

comment:2 Changed 11 years ago by Jon Håvard Gundersen

The problem with defining default paragraph style as a clean <p> is that this style then will be marked as selected for all the other parapgrah styles too. But I agree that this is a prettier approach, but then the style checker needs to be more strict.

comment:3 Changed 11 years ago by Jon Håvard Gundersen

I made a ticket with some bugs I found when testing different approaches #1503

comment:4 Changed 11 years ago by Alfonso Martínez de Lizarrondo

Resolution: wontfix
Status: newclosed

The problems in #1503 have been fixed, so marking this one as Wontfix

comment:5 Changed 11 years ago by Alfonso Martínez de Lizarrondo

#1465 has been marked as dup.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy