-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cards need unique classes #8179
Labels
affects:editor
Work relating to the Koenig Editor
Comments
I started a refactor of mobiledoc-kit to allow custom classes but it turned out to be a bigger PITA than I was expecting and so I put it on hold, we can definitely insert class names at runtime though. It is on my list to replace the existing mobiledoc classes though. |
disordinary
added a commit
to disordinary/Ghost-Admin
that referenced
this issue
Mar 17, 2017
Closes: TryGhost/Ghost#8179 Previously all cards just had a `__mobiledoc-card` class on them, this update replaces them with a class `koenig-card` it also adds an additional class of `kg-{{card_name}}`
disordinary
added a commit
to disordinary/Ghost-Admin
that referenced
this issue
Mar 17, 2017
Closes: TryGhost/Ghost#8179 Previously all cards just had a `__mobiledoc-card` class on them, this update replaces them with a class `koenig-card` it also adds an additional class of `kg-{{card_name}}`
disordinary
added a commit
to disordinary/Ghost-Admin
that referenced
this issue
Mar 18, 2017
Closes: TryGhost/Ghost#8179 Previously all cards just had a `__mobiledoc-card` class on them, this update replaces them with a class `koenig-card` it also adds an additional class of `kg-{{card_name}}`
kevinansfield
pushed a commit
to disordinary/Ghost-Admin
that referenced
this issue
Mar 20, 2017
Closes: TryGhost/Ghost#8179 Previously all cards just had a `__mobiledoc-card` class on them, this update replaces them with a class `koenig-card` it also adds an additional class of `kg-{{card_name}}`
kevinansfield
pushed a commit
to TryGhost/Admin
that referenced
this issue
Mar 20, 2017
closes: TryGhost/Ghost#8179 - previously all cards just had a `__mobiledoc-card` class on them, this update replaces them with a class `kg-card` and adds an additional class of `kg-{{card_name}}`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can we have our own global card class? Eg.
.koenig-card
or maybe.kg-card
rather than.__mobiledoc-card
?More importantly though, definitely need card-type classes, eg.
.kg-card-image
/.kg-card-markdown
/.kg-card-html
etcThe text was updated successfully, but these errors were encountered: