SCEditor is a lightweight WYSIWYG BBCode & HTML editor
Questions tagged [sceditor]
26 questions
7
votes
1 answer
jQuery plugins: apply mCustomScrollbar to SCEditor
How can I apply mCustomScrollbar to SCEditor?
This is what I've tried so far:
HTML
JS
$("#editor").sceditor({
plugins: "xhtml",
width: '100%',
style:…

Matías Cánepa
- 5,770
- 4
- 57
- 97
2
votes
2 answers
How to move the cursor position within SCeditor?
I am inserting text into an instance of SCeditor and would like to move the cursor after the insert, to a specific position within the inserted text.
Code of the SCeditor init:
var textarea = $('textarea[name="'+fieldname+'"]')[0];
// shortcut to…

Avatar
- 14,622
- 9
- 119
- 198
2
votes
1 answer
Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead
I'm using SCEditor in my yii1 project & using v1.4.1, i can't use copy and past in chrome(Version 78.0.3904.108) , firefox (71.0 (64-bit)). How to enable clipboard past ?
click to view image

Rayven
- 21
- 1
- 4
2
votes
1 answer
sceditor: How do I save and load data to/from mysql
I recently came across this BBCode (Bulletin Board Code) editor named SCEditor. It's the first one that I found so I started using this one, but i am not really familiar with parsers and stuff. I need it for showing news on my website. So…

iLearner
- 21
- 2
2
votes
1 answer
Setting the cursor to the end of the text using SCEditor
I am attempting to insert a quote, then move the cursor to the end of the editor. Currently, I insert the quote, the cursor ends up inside the quote so if you were to start typing, the user would be adding to the quote which is not what I would like…

Ben
- 5,627
- 9
- 35
- 49
2
votes
3 answers
Get the value from SCEditor
I'm trying to get the value from my SCEditor textarea, using this code:
var fbeschreibung = '';
$(function() {
// Replace all textarea's
// with SCEditor
$("textarea").sceditor({
plugins: "bbcode",
style:…

Juloius
- 253
- 1
- 4
- 11
2
votes
4 answers
get iframe content as string
I use a jquery plugin for generating rich text editor. That editor generates an structure like this:
...

hamed
- 7,939
- 15
- 60
- 114
1
vote
0 answers
How to turn off cursor focus in SCEditor on MyBB forum?
I've been trying off an on to sort this problem out since February but I just cannot seem to figure it out.
MyBB uses the SCEditor. I'm not personally a huge fan of it but free software is free software. Anyways there is this annoying thing where…

c.widow
- 11
- 1
1
vote
1 answer
When I add SCEditor to my Blazor project, the editor keeps appearing in strange places, sometimes in multiple copies. How do I fix this?
I want to use SCEditor in my Blazor page.
For example I create a new Blazor WASM project and I did these steps:
According to documentation I add this codes and references to…

Arian
- 12,793
- 66
- 176
- 300
1
vote
2 answers
SCEditor - make the default font Arial
How can SCEditor be forced to start with Arial as its default font when it is empty? The default appears to be a Serif font - perhaps Times.

DroidOS
- 8,530
- 16
- 99
- 171
1
vote
1 answer
Prevent drag and drop in SCEditor (MyBB) with Firefox
I have a MyBB forum which includes by default SCEditor as WYSIWYG editor.
SCEditor is not designed for drag and drop, so with IE, Safari and Chrome, if you try to drag an image into the field, the entire page is replaced by the image (that's OK for…

Atarax
- 26
- 1
- 6
1
vote
1 answer
How to fix Material Design Light - SCEditor conflict?
I'm looking for a fix to get Material Design Light working with MyBB which uses SCEditor, a JS WYSIWYG editor. There is a conflict because MDL adds layout classes that break the editors textbox. At Github there is a similar issue with TinyMCE but…

maniacmusic
- 67
- 1
- 7
1
vote
1 answer
wrap wysiwyg editor's iframe
I'm using sceditor in one my projects, and I need to wrap the iframe with a div. However, when I do that, the content gets erased and of course I don't know why.
Can someone throw some light on why is this happening?
To test this, just go…

Matías Cánepa
- 5,770
- 4
- 57
- 97
1
vote
3 answers
Having trouble getting JSON object to work when passed to SCEditor
I am using SCEditor and I am trying to set my own custom emoticons according to the emoticons option specified on this page.
So I called it like so:
$(document).ready(function() {
$(".sceditor").sceditor({
// Other options
…

Brett
- 19,449
- 54
- 157
- 290
1
vote
0 answers
SCEditor emoticon from BBcode not convert to html
I created SCEditor by this code
var textBBcode = null;
$(function () {
textBBcode = $("textarea").sceditor({
plugins: "bbcode",
style: "js/api/sceditor/jquery.sceditor.default.min.css",
emoticonsRoot: "js/api/sceditor/"
…

OammieR
- 2,800
- 5
- 30
- 51