Skip to content
This repository was archived by the owner on Nov 16, 2017. It is now read-only.

t/71 Fixed: Wrong class names and invalid voice label in BoxedEditorUIView. #122

Closed
wants to merge 1 commit into from

Conversation

oleq
Copy link
Member

@oleq oleq commented Nov 21, 2016

Closes #71.

@Reinmar
Copy link
Member

Reinmar commented Nov 22, 2016

Why "ck" instead of "cke"? We've been always using the latter.

@oleq
Copy link
Member Author

oleq commented Nov 22, 2016

It's shorter. And it's already used across the code-base. That's all.

@Reinmar
Copy link
Member

Reinmar commented Nov 22, 2016

"c" is even shorter but even less meaningful :P. We always had "cke" so switching to "ck" without clear reasons may be confusing. But it's up to you – I only wanted to stress that this must be consistent now, so e.g. data-cke-sth must become data-ck-sth, getCKEStuff, getCKStuff.

Therefore, if you want to propose CK you should actually ping all of us.

@Reinmar
Copy link
Member

Reinmar commented Nov 22, 2016

@oleq
Copy link
Member Author

oleq commented Nov 22, 2016

We're already inconsistent in that matter

https://github.com/ckeditor/ckeditor5-utils/blob/master/src/dom/emittermixin.js#L283
vs.
https://github.com/ckeditor/ckeditor5-engine/blob/master/src/view/filler.js#L39

ATM. All the styles use ck- prefix and this issue is to make it consistent (+bonus totally broken voice label). If we want to change it all, then it's another issue, that's for sure.

@Reinmar
Copy link
Member

Reinmar commented Nov 22, 2016

ATM. All the styles use ck- prefix and this issue is to make it consistent (+bonus totally broken voice label). If we want to change it all, then it's another issue, that's for sure.

I saw that they are inconsistent. But they can be inconsistent in both ways. So there's a question about standard and the standard was always different.

@oleq
Copy link
Member Author

oleq commented Nov 22, 2016

TBH, I don't think it matters. Especially at this point.

The purpose of this issue is making things consistent. If we go the other way, we end up with a multi–PR refactoring across the project which would consume time we cannot spare ATM.

@Reinmar
Copy link
Member

Reinmar commented Nov 22, 2016

You ended up with two PRs anyway.

If you don't want to work on this now, then please create a ticket and tag it for 1.0.0.

@oleq
Copy link
Member Author

oleq commented Nov 22, 2016

Moved the discussion to https://github.com/ckeditor/ckeditor5-ui/issues/112.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants