#1 2010-10-04 11:01:04

Denis1982
Člen
Registrován: 2010-10-04
Příspěvky: 45

Re: Nejde WYSIWYG Editor

Proc mi na vasich strankach nefunguje WYSIWYG Editor od http://tinymce.moxiecode.com/ diky

Offline

#2 2010-10-04 12:04:38

JF
Endora rádce
Místo: ....nice u Plzně
Registrován: 2010-06-22
Příspěvky: 11,939

Re: Nejde WYSIWYG Editor

Zrejme ho máš zle naprogramovaný. Pod Joomlou ako doplnok funguje bez chyby.


Ján Fačkovec - Endora.cz by Webglobe
Email, Web, Webadmin, Webmail, Nápověda, Ceník

Offline

#3 2010-10-04 12:37:27

Denis1982
Člen
Registrován: 2010-10-04
Příspěvky: 45

Re: Nejde WYSIWYG Editor

A kde mam chybu?

Dal jsem si tam jen jine pluginy a buttony. Podle navodu na oficialni strance.

Takto vipada kod ktery mi na jinem hostingu jde.

tinyMCE.init ({
	
	mode : "textareas",
	width : "658",
	height : "400",
	theme : "advanced",
	language : "cs",
	
	convert_urls : false,
	relative_urls : false,
	remove_script_host : false,	
	verify_html : false,
	visual : false,
	fix_content_duplication : false,
	trim_span_elements : false,
	
  plugins : "safari,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,imagemanager,filemanager",
	
	content_css : "../data/css/tiny.css",
	
	theme_advanced_resize_horizontal : false,	
	
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "left",
	theme_advanced_blockformats : "h1,h2,h3,h4,h5,h6",
	
	theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect",
	theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
	theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
	theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,spellchecker,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,blockquote,pagebreak,|,insertfile,insertimage",
	
	fullscreen_new_window : "true",
	theme_visualaid : "false",	
	theme_advanced_resizing : "true",	
	theme_advanced_statusbar_location : "bottom",
	
	fullscreen_settings : {
		
		theme_advanced_path_location : "top"
	
	}
 
});

A toto je original ktery u vas funguje:

tinyMCE.init ({
	
	mode : "textareas",
	width : "658",
	height : "400",
	theme : "advanced",
	language : "cs",
	
	convert_urls : false,
	relative_urls : false,
	remove_script_host : false,	
	verify_html : false,
	visual : false,
	fix_content_duplication : false,
	trim_span_elements : false,
	
	plugins : "fullscreen,insertdatetime,table,paste,advlink,advimage",
	
	content_css : "../data/css/tiny.css",
	
	theme_advanced_resize_horizontal : false,	
	
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "left",
	theme_advanced_blockformats : "h1,h2,h3,h4,h5,h6",
	
	theme_advanced_buttons1 : "formatselect,fontselect,fontsizeselect,|,forecolor,|,backcolor,|,hr,|,fullscreen,visualaid",
	theme_advanced_buttons2 : "undo,redo,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,paste,pastetext,pasteword,|,bullist,numlist,|,outdent,indent",
	theme_advanced_buttons3 : "link,unlink,|,anchor,|,image,|,code,|,table,|,charmap,|,insertdate,inserttime,|,sub,sup,|,removeformat,cleanup",

	
	fullscreen_new_window : "true",
	theme_visualaid : "false",	
	theme_advanced_resizing : "true",	
	theme_advanced_statusbar_location : "bottom",
	
	fullscreen_settings : {
		
		theme_advanced_path_location : "top"
	
	}
 
});

Tak jsem pouze na radku 17 pridal dalsi pluginy a na radek 30 jsem pridal dalsi buttony. Diky za odpoved

Offline

#4 2010-10-04 12:43:20

JF
Endora rádce
Místo: ....nice u Plzně
Registrován: 2010-06-22
Příspěvky: 11,939

Re: Nejde WYSIWYG Editor

V tom čo si napísal rozdiel nevidím. Zrejme si to len uložil v inom kódovaní a preto to blbne.


Ján Fačkovec - Endora.cz by Webglobe
Email, Web, Webadmin, Webmail, Nápověda, Ceník

Offline

#5 2010-10-04 12:49:41

Denis1982
Člen
Registrován: 2010-10-04
Příspěvky: 45

Re: Nejde WYSIWYG Editor

pridal jsem toto:

plugins : "safari,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,imagemanager,filemanager",

A toto:

theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,spellchecker,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,blockquote,pagebreak,|,insertfile,insertimage",

Kodovani je UTF-8. Ale me se to vubec nezobrazi

Offline

#6 2010-10-04 12:53:47

Denis1982
Člen
Registrován: 2010-10-04
Příspěvky: 45

Re: Nejde WYSIWYG Editor

Tady posilam naheld z PSPadu na to, aby se video kde se upravy udelali.

http://i54.tinypic.com/jidjx2.jpg

Offline

Zápatí

Založeno na FluxBB | CZ a SK