Jump to content
покупайте без комиссии
Search In
  • More options...
Find results that contain...
Find results in...
  • Sign Up

Редактор статей


Recommended Posts

Подскажите редактор статей. ;)В стандартном СKeditor - нет установки текста h2-h6. Summer Note - не все возможности работы с гиперссылками.

Link to post
Share on other sites

19 минут назад, Ryslan сказал:

Подскажите редактор статей. В стандартном СKeditor - нет установки текста h2-h6. Summer Note - не все возможности работы с гиперссылками.

ИМХО бред, как нету, если есть.
стоит последний CKE из ocStore 2.3 и немного подправленный config.js
image.thumb.png.34ca9590562b0fa9035a051348692db6.png

CKEDITOR.editorConfig = function( config ) {
	config.toolbarGroups = [
		{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
		{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
		{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
		{ name: 'forms', groups: [ 'forms' ] },
		{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
		{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
		{ name: 'links', groups: [ 'links' ] },
		{ name: 'insert', groups: [ 'insert' ] },
		'/',
		{ name: 'styles', groups: [ 'styles' ] },
		{ name: 'colors', groups: [ 'colors' ] },
		{ name: 'tools', groups: [ 'tools' ] },
		{ name: 'others', groups: [ 'others' ] },
		{ name: 'about', groups: [ 'about' ] }
	];

	config.removeButtons = 'Save,NewPage,Preview,Print,Templates,Undo,Find,SelectAll,Scayt,Form,BidiLtr,BidiRtl,Language,Flash,HorizontalRule,Smiley,SpecialChar,PageBreak,Iframe,Font,About,Replace,Redo,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField';
};

 

Link to post
Share on other sites

)) да без разницы, но если Вы не программист, то мои советы вряд ли Вам будут полезны

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.