-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fromBBCode doesn't support emoticons #719
Comments
By design. See: https://www.sceditor.com/documentation/formats/bbcode/ |
What is the suggested way then to load bbcode e.g. from a database and display it? Would it be to load the bbcode into a textarea and create a readonly editor instance? Or is there a seperate "parse emoticons" function? |
Well, this is my hack for now: Copy/paste emoticons from https://github.com/samclarke/SCEditor/blob/master/src/lib/defaultOptions.js: var emoticons = {
|
I can't think of any alternatives..... |
I made the pull request to this #721 |
Calling
sceditor.instance(textarea).fromBBCode("as :) df")
returns<div>as :) df</div>
instead of HTML code with emoticon.The text was updated successfully, but these errors were encountered: