This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { styles } = require('@ckeditor/ckeditor5-dev-utils'); | |
| const path = require('path'); | |
| module.exports = function (config) { | |
| // Your existing rules (example) | |
| config.module.rules.push( | |
| { | |
| test: /\.css$/, | |
| use: [ | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = function (config) { | |
| // Your existing rules (example) | |
| config.module.rules.push( | |
| { | |
| test: /\.css$/, | |
| use: [ | |
| { | |
| loader: 'style-loader', | |
| options: { | |
| // `style-loader` options here... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { styles } = require('@ckeditor/ckeditor5-dev-utils'); | |
| module.exports = { | |
| module: { | |
| rules: [ | |
| // Your existing rules (example) | |
| { | |
| test: /\.css$/, | |
| use: [ | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Error: ./node_modules/@ckeditor/ckeditor5-basic-styles/theme/code.css | |
| Module build failed (from ./node_modules/postcss-loader/dist/cjs.js): | |
| SyntaxError | |
| (1:1) /Users/.../node_modules/@ckeditor/ckeditor5-basic-styles/theme/code.css Unknown word | |
| > 1 | import api from "!../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js"; | |
| | ^ | |
| 2 | import content from "!!../../../css-loader/dist/cjs.js!../../../postcss-loader/dist/cjs.js??ref--20-2!./code.css"; | |
| 3 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| =font-fallback($font) | |
| font-family: $font, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif | |
| $xl-width: 1200px; | |
| $lg-width: 992px; | |
| $md-width: 768px; | |
| $sm-width: 576px; | |
| =xl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const str: string; | |
| str.split(',').map(e=> `'${e.trim()}'`).join(', ') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $( '.fileContainer [type=file]' ).on( 'change', function updateFileName( event ){ | |
| var $input = $( this ); | |
| $input.parent().next('.fileName').text( $input.val().replace(/([^\\]*\\)*/,'') ) | |
| } ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $( '.fileContainer [type=file]' ).on( 'click', function updateFileName( event ){ | |
| var $input = $( this ); | |
| setTimeout( function delayResolution(){ | |
| $input.parent().text( $input.val().replace(/([^\\]*\\)*/,'') ) | |
| }, 0 ) | |
| } ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .wrapper { | |
| width: 100px; | |
| margin: 0 auto; | |
| } | |
| .box { | |
| background: goldenrod; | |
| margin-left: auto; | |
| margin-right: auto; | |
| padding-top: 50%; |
NewerOlder