Skip to content

Instantly share code, notes, and snippets.

Christian Rizza christian-rizza

Block or report user

Report or block christian-rizza

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
christian-rizza / setup.js
Created Jun 22, 2016
Enable nested elements on TinyMCE on Magento 1
View setup.js
//add any extra settings you'd like below
settings.valid_children = '+a[h1|h2|h3|h4|h5|h6|p|span|div|img]';
settings.force_br_newlines = true;
settings.force_p_newlines = false;
settings.forced_root_block = false;
//makes "placeholder" a valid element for inputs
settings.extended_valid_elements = '+div[*],+a[*],+span[*],input[placeholder|acc$
christian-rizza / test.scss
Last active Jun 11, 2016
SCSS for Crizza Tutorial
View test.scss
$bodyColor: #95aabf;
$patter: "../images/pattern.png";
@font-face {
font-family: 'Oswald';
font-style: normal;
font-weight: 400;
src: local('Oswald Regular'), local('Oswald-Regular'), url( format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
christian-rizza / gulpfile.js
Created May 29, 2016
Compile SASS with Gulp
View gulpfile.js
var sass = require('gulp-sass');
gulp.task('sass', function ()
return gulp.src('app/scss/**/*.scss')
View gulpfile.js
var gulp = require('gulp');
gulp.task('hello', function() {
console.log("Hello Gulp!");
You can’t perform that action at this time.