this is for javascript or template ?
April 2024
Search
Similar topics
Who is online?
In total there are 2 users online :: 0 Registered, 0 Hidden and 2 Guests
None
Most users ever online was 140 on July 4th 2021, 2:03 pm
None
Most users ever online was 140 on July 4th 2021, 2:03 pm
Most Viewed Topics
Top posting users this week
No user |
The NEW FM text editor
Hey guys so as you all are aware, FM has added a new SCEditor. It takes over the old editor, for phpbb2 and punbb users please follow my notes below. All tutorials for this editor will be placed here. We will be going over some of the core advantages of being able to change everything anything we want really. Also we can now easily add our own bbcodes without any other external bbcode feature. Which I will also being going over as well. Please give me some time and I will be posting some great tutorials on this before I release any other tutorials. Thanks guys...
PHPBB2 and PUNBB:
Save your edited templates in a text editor, then delete your template in the ACP. Any edited content dealing with the page itself just add to it after.
OVERALL TEMPLATE FOR SCEDITOR!
[hc=Template]
$(document).ready(function() {
$("#text_editor_textarea").sceditor({
locale: "en",
width: "100%",
height: "200px",
plugins: "bbcode",
toolbar: "bold,italic,underline,strike|left,center,right,justify|quote,code,faspoiler,fahide|servimg,image,link,youtube|size,color,font,removeformat|emoticon,date,time,source",
style: "https://illiweb.com/rs3/67/frm/SCEditor/minified/jquery.sceditor.default.min.css",
rtl: false,
emoticonsRoot: "",
emoticonsCompat: true,
emoticons: {
dropdown: {
"": "https://2img.net/u/2717/15/04/54/smiles/4135094807.png","": "https://2img.net/u/2717/15/04/54/smiles/2959596554.png","": "https://2img.net/u/2717/15/04/54/smiles/1138712904.png","": "https://2img.net/u/2717/15/04/54/smiles/170075068.png","": "https://2img.net/u/2717/15/04/54/smiles/3715796969.png","": "https://2img.net/u/2717/15/04/54/smiles/608342022.png","": "https://2img.net/u/2717/15/04/54/smiles/2288962629.png","": "https://2img.net/u/2717/15/04/54/smiles/1142074086.png","": "https://2img.net/u/2717/15/04/54/smiles/3222864606.png","": "https://2img.net/u/2717/15/04/54/smiles/4191140872.png","": "https://2img.net/u/2717/15/04/54/smiles/2663263638.png","": "https://2img.net/u/2717/15/04/54/smiles/328168175.png","": "https://2img.net/u/2717/15/04/54/smiles/2321418220.png","": "https://2img.net/u/2717/15/04/54/smiles/1767869974.png","": "https://2img.net/u/2717/15/04/54/smiles/1814378306.png","": "https://2img.net/u/2717/15/04/54/smiles/172946801.png","": "https://2img.net/u/2717/15/04/54/smiles/3086822976.png","": "https://2img.net/u/2717/15/04/54/smiles/3567327291.png","": "https://2img.net/u/2717/15/04/54/smiles/121232699.png","": "https://2img.net/u/2717/15/04/54/smiles/1048513240.png","": "https://2img.net/u/2717/15/04/54/smiles/693571942.png","": "https://2img.net/u/2717/15/04/54/smiles/219770693.png","": "https://2img.net/u/2717/15/04/54/smiles/4013542763.png","": "https://2img.net/u/2717/15/04/54/smiles/777777887.png","": "https://2img.net/u/2717/15/04/54/smiles/3080596646.png","": "https://2img.net/u/2717/15/04/54/smiles/94745851.png","": "https://2img.net/u/2717/15/04/54/smiles/1716668607.png"
}
}
});
$("#text_editor_textarea").sceditor("instance").toggleSourceMode();$("#text_editor_textarea").sceditor("instance").toggleSourceMode();
$.sceditor.ShowHideToolbarElements();
});
[/hc]
PHPBB2 and PUNBB:
Save your edited templates in a text editor, then delete your template in the ACP. Any edited content dealing with the page itself just add to it after.
OVERALL TEMPLATE FOR SCEDITOR!
[hc=Template]
$(document).ready(function() {
$("#text_editor_textarea").sceditor({
locale: "en",
width: "100%",
height: "200px",
plugins: "bbcode",
toolbar: "bold,italic,underline,strike|left,center,right,justify|quote,code,faspoiler,fahide|servimg,image,link,youtube|size,color,font,removeformat|emoticon,date,time,source",
style: "https://illiweb.com/rs3/67/frm/SCEditor/minified/jquery.sceditor.default.min.css",
rtl: false,
emoticonsRoot: "",
emoticonsCompat: true,
emoticons: {
dropdown: {
"": "https://2img.net/u/2717/15/04/54/smiles/4135094807.png","": "https://2img.net/u/2717/15/04/54/smiles/2959596554.png","": "https://2img.net/u/2717/15/04/54/smiles/1138712904.png","": "https://2img.net/u/2717/15/04/54/smiles/170075068.png","": "https://2img.net/u/2717/15/04/54/smiles/3715796969.png","": "https://2img.net/u/2717/15/04/54/smiles/608342022.png","": "https://2img.net/u/2717/15/04/54/smiles/2288962629.png","": "https://2img.net/u/2717/15/04/54/smiles/1142074086.png","": "https://2img.net/u/2717/15/04/54/smiles/3222864606.png","": "https://2img.net/u/2717/15/04/54/smiles/4191140872.png","": "https://2img.net/u/2717/15/04/54/smiles/2663263638.png","": "https://2img.net/u/2717/15/04/54/smiles/328168175.png","": "https://2img.net/u/2717/15/04/54/smiles/2321418220.png","": "https://2img.net/u/2717/15/04/54/smiles/1767869974.png","": "https://2img.net/u/2717/15/04/54/smiles/1814378306.png","": "https://2img.net/u/2717/15/04/54/smiles/172946801.png","": "https://2img.net/u/2717/15/04/54/smiles/3086822976.png","": "https://2img.net/u/2717/15/04/54/smiles/3567327291.png","": "https://2img.net/u/2717/15/04/54/smiles/121232699.png","": "https://2img.net/u/2717/15/04/54/smiles/1048513240.png","": "https://2img.net/u/2717/15/04/54/smiles/693571942.png","": "https://2img.net/u/2717/15/04/54/smiles/219770693.png","": "https://2img.net/u/2717/15/04/54/smiles/4013542763.png","": "https://2img.net/u/2717/15/04/54/smiles/777777887.png","": "https://2img.net/u/2717/15/04/54/smiles/3080596646.png","": "https://2img.net/u/2717/15/04/54/smiles/94745851.png","": "https://2img.net/u/2717/15/04/54/smiles/1716668607.png"
}
}
});
$("#text_editor_textarea").sceditor("instance").toggleSourceMode();$("#text_editor_textarea").sceditor("instance").toggleSourceMode();
$.sceditor.ShowHideToolbarElements();
});
[/hc]
Similar topics