Autor | Zpráva | ||
---|---|---|---|
Jozefe Profil * |
#1 · Zasláno: 21. 3. 2009, 17:03:44
Ahojte mam tenhle kod
<?php include_once "fckeditor/fckeditor.php"; $oFCKeditor = new FCKeditor('FCKeditor1'); $oFCKeditor->BasePath = '/fckeditor/'; $oFCKeditor-> config ['EnterMode'] = 'br'; $oFCKeditor->ToolbarSet = 'Default'; $oFCKeditor->Value = '<p>This is some <strong>sample text</strong>.</p>'; $oFCKeditor->Create(); ?> Ale mne se ukaze jenom editor a ne symboly nahore ... ja to potrebuju tak aby se mi tam neukazal html kod ale symboly na vrchu a ze si user muze prepnou jestly wysi..nebo html ... Prosim pomozte mi .... |
||
panther Profil |
#2 · Zasláno: 21. 3. 2009, 17:05:22
Jozefe
„Ahojte mam tenhle kod “ a jseš si jistý, že z tohohle kousku lze něco vykoukat? |
||
Jozefe Profil * |
#3 · Zasláno: 21. 3. 2009, 17:11:11
panther
nevom proc to nejde kdys tam mam tohle $oFCKeditor->ToolbarSet = 'Default'; a v fckconfig.js je tohle FCKConfig.ToolbarSets["Default"] = [ ['Source','DocProps','-','Save','NewPage','Preview','-','Templates'], ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'], ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'], '/', ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], ['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], ['Link','Unlink','Anchor'], ['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'], '/', ['Style','FontFormat','FontName','FontSize'], ['TextColor','BGColor'], ['FitWindow','ShowBlocks','-','About'] // No comma for the last row. ] ; |
||
Jozefe Profil * |
#4 · Zasláno: 21. 3. 2009, 17:13:25
skousel sem to i javascriptem ale nejde to podle manualu ...
|
||
orsen Profil * |
#5 · Zasláno: 21. 3. 2009, 18:06:47
a co je v fckeditor/fckeditor.php ? Z toho, co jsem píšeš se nedá nic vyčíst
|
||
Časová prodleva: 15 let
|
0