Приветствую,как можно пофиксить баг,чтобы ckeditor не убирал проценты в исходном коде css и не добавлял \?
Конфиг
/** * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.editorConfig = function( config ) { config.skin = 'moono-dark'; config.extraAllowedContent = '*(*);*{*}'; config.extraAllowedContent = 'span'; config.autoParagraph = false; CKEDITOR.config.allowedContent=true; CKEDITOR.config.protectedSource.push(/<(style)[^>]*>.*<\/style>/ig); CKEDITOR.config.protectedSource.push(/<(script)[^>]*>.*<\/script>/ig); };
Сообщение отредактировал aza: 19 Май 2016 - 20:07