Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

vman

Newbie
  
  • Posts

    1
  • Joined

  • Last visited

vman's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. У меня не закомменчивает, но все равно не выполняет, просто идет код в html, чтобы редактор не закомменчивал, сделал так, перешел на редактор CKEditor, в ocstore это есть и добавил в файл config.js строки в конце CKEDITOR.config.indentClasses = ["ul-grey", "ul-red", "text-red", "ul-content-red", "circle", "style-none", "decimal", "paragraph-portfolio-top", "ul-portfolio-top", "url-portfolio-top", "text-grey"]; CKEDITOR.config.protectedSource.push(/<(style)[^>]*>.*<\/style>/ig);// разрешить теги <style> CKEDITOR.config.protectedSource.push(/<(script)[^>]*>.*<\/script>/ig);// разрешить теги <script> CKEDITOR.config.protectedSource.push(/<\?[\s\S]*?\?>/g);// разрешить php-код CKEDITOR.config.protectedSource.push(/<!--dev-->[\s\S]*<!--\/dev-->/g); CKEDITOR.config.allowedContent = true; /* все теги */
Guest
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.