kunstmaan / bootstrapck4-skin Goto Github PK
View Code? Open in Web Editor NEWA Bootstrap inspired skin for CKeditor4
License: MIT License
A Bootstrap inspired skin for CKeditor4
License: MIT License
I've run into a strange issue with Firefox after upgrading BootstrapCK.
We have an application using bootstrapck which was originally built using the ckeditor builder. That works fine, but the icon set does not include the "save" icon.
So I've upgraded our bootstrapck skin folder ("Just skin please" instructions). That works great under Chrome and Safari, but under Firefox the icons are ... well.... just wrong.
Here's what I get under Chrome, which is correct:
Under Firefox:
Notice, for example the Bold, Italic, Underline icons are: question mark, flag, and strange paragraph marker symbol.
I assumed this might be just incorrect caching of the icon.png, but I've cleared the cache out, and no difference.
The odd thing is that the demo site renders perfectly well for me in Firefox! But I notice that site appears to load each icon individually...
...maybe.
Do you have any idea for what might be going wrong for me with Firefox? Any suggestions would be much appreciated.
This is with ckeditor 4.5.6.
Is there a reason this skin sets the source view to have white-space:pre
? (https://github.com/Kunstmaan/BootstrapCK4-Skin/blob/master/skins/bootstrapck/scss/components/_presets.scss#L27) I believe the typical behavior is to have this content wrap, which could be solved by having the style either absent or white-space:normal
57: /* The container for combo text and arrow. */
58: .cke_combo_button {
59: display: inline-block;
60: float: left;
61: margin: 0 6px 5px 0;
should be:
margin: 0 6px 3px 0;
The extra two pixels causes anything under to be shifted to the right leaving a hole in the second row when the toolbar wraps.
I would fork and do a pull request but I don't do scss.
a work around is to have this somewhere in your app:
.cke_combo_button {
margin: 0 6px 3px 0 !important;
}
Thanks
When will you support a bootstrap 4 skin? ๐
The editor buttons work fine on my computer's lower resolution monitor (loads icons.png) and also work fine on my ipad and iphone (loads icons_hidpi.png) however the icons all load incorrectly on my MacBook Pro's Retina display. See screenshot:
It looks to me that the HiDPi icons are being loaded but they are being positioned using the regular resolution specifications.
Hello, love the theme!
It would be nice to have a specification of a truly minimal install to not clutter our code repositories.
For example, it seems that we can delete most files and that these files are sufficient:
dialog.css
dialog_ie.css
dialog_ie7.css
dialog_ie8.css
dialog_iequirks.css
dialog_opera.css
editor.css
editor_gecko.css
editor_ie.css
editor_ie7.css
editor_ie8.css
editor_iequirks.css
icons.png
icons_hidpi.png
skin.js
Please let me know if I have deleted too many files or if there are others that could be deleted.
The issue occurs on editor with builtin moono theme and with defined uiColor
setting (even empty). Editor get partially styled by moono.
This is because moono defines CKEDITOR.skin.chameleon
function that adds some css. In fact this is a CKEditor issue (disabled skin should not inject its css).
uiColor
setting is added by CMS (in my case).
So, we need to override CKEDITOR.skin.chameleon
in skin.js:
CKEDITOR.skin.chameleon = function(){
return '';
};
It would be really great if this was available as a bower package, so it can be installed with ck using bower.
Current ommision in BootstrapCK4 Skin that if you use any plugin or feature that causes display of messages via CKSource's 1st party Notification plugin http://ckeditor.com/addon/notification then the messages will appear as unstyled and often not visible text (until/unless the user drags their cursor over to cause selection highlight)
Everything appears visually fine if keeping with default Moono Skin, and the styles associated with that skin would be quite fine to use as is within BootstrapCK4.
At the moment we've worked around this issue by manually adding the extra CSS styles from Moono into our site's custom CSS. But would be good for those few extra styles to be added to Bootstrap Skin default CSS given Notification is a 1st party addon for CKEditor.
See bottom 'Screenshots' carousel on http://ckeditor.com/addon/notification for current Moono default CSS styling of possible Success, Info and Warning nofication pop-ups.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.