jordandelozier / wysibb Goto Github PK
View Code? Open in Web Editor NEWWYSIWYG BBcode editor
Home Page: http://www.wysibb.com
WYSIWYG BBcode editor
Home Page: http://www.wysibb.com
Since version 1.4.1 I can't disable logging by this code
var opt = {
debug:false
}
$('#editor').wysibb(opt);
Instead, I have to change original script, like this
wbbdebug=false;
I think, it should be nice to return 'debug' option.
редактор на странице http://www.wysibb.com/demo/ не работает на iPhone iOS 5.
редактирование WYSIWYG невозможно из-за ограничений ОС, а автоматически не переходит в BBCode режим.
$("#full_content").insertAtCursor('[img]img.jpg[/img]');
В редакторе появляется просто ббкод, было бы класно, если бы он сразу парсился и в редакторе появлялась картинка.
пробовал
$("#full_content").insertAtCursor('[img]img.jpg[/img]').sync();
также пробовал вставлять через append() в textarea, а потом sync() - не появлялось вообще ничего.
there is a separator always show in the last of toolbar
After some time of using wysibb 1.5.1 on my project i found some issue: if enabled bbmode property, textarea with editor can "cleanup" writed text, if you click on [bbcode] button.
All working fine, if this option is dissabled.
How to repeat bug?
I hope you fix this in newest versions.
Версия 25.0.1364.152
В мозиле работает
Hi,
i just tried to add a spoiler option but it doesn't work, can you help me ?
spoiler: {
title:CURLANG.spoiler,
buttonHTML: '\uE018',
excmd: 'spoiler',
transform: {
'
It world in bbcode mode, but in the wysiwig mode, nothing heppen (and no error is triggered)..
Can you help me ?
Error when post embed video. When click Save, nothing happens.
Hi,
On jquery.wysibb.min.js v1.5.1, video, doesn't exist. Thus this title is not display. Perhaps you can change video to modal_video_title.
French translation forgot this variable
Ошибка при нажатии на кнопку "Загрузить файл" в модальном окне.
Пожалуйста не используйте $ в onclick - это приводит к ошибкам например в Drupal 7, где нужно обращаться к jQuery как jQuery() или через переменную jQuery.noConflict(), если нужна версия выше доступной.
А лучше бы вообще не использовать onclick, тогда бы и проблемы не было.
При добавлении таблицы в режиме html таблица отображается но после просмотра bbcode исчезает так как в ббкод переносится только td
Пытался табулировать код в редакторе, но вместо табуляции фокус уходит с поля.
the code top "Код:" is untranslated.
Add queryState for img selection. Add params remove, edit img.
We at VersionEye are working hard to keep up the quality of the bower's registry.
We just finished our initial analysis of the quality of the Bower.io registry:
7530 - registered packages, 224 of them doesnt exists anymore;
We analysed 7306 existing packages and 1070 of them don't have bower.json on the master branch ( that's where a Bower client pulls a data ).
Sadly, your library wbb/WysiBB
is one of them.
Can you spare 15 minutes to help us to make Bower better?
Just add a new file bower.json
and change attributes.
{
"name": "wbb/WysiBB",
"version": "1.0.0",
"main": "path/to/main.css",
"description": "please add it",
"license": "Eclipse",
"ignore": [
".jshintrc",
"**/*.txt"
],
"dependencies": {
"<dependency_name>": "<semantic_version>",
"<dependency_name>": "<Local_folder>",
"<dependency_name>": "<package>"
},
"devDependencies": {
"<test-framework-name>": "<version>"
}
}
Read more about bower.json on the official spefication and nodejs semver library has great examples of proper versioning.
NB! Please validate your bower.json with jsonlint before commiting your updates.
Thank you!
Timo,
twitter: @versioneye
email: [email protected]
VersionEye - no more legacy software!
I'm using the Multiformat BBcode from the docs on the website, but when i want to quote a quote, the original quote isn't being quoted.
Xss injection possible
[img]bb.jpg" onerror="alert(location)[/img]
Форум не работает, сайт тоже не понятно как-то работает.
I was messing with my Chrome developer tools and while I right clicked on the buttons it may have caused a click race condition of some sort.
It's also doing some other weird things when you right click on the buttons such as the image one will bring up the dialog with the symbol inside the first input.
When I right click on the quote button it does some strange things as well. As you can see the quote button had doubled in width as well.
I then attempted to click other options and it seems as though the width of the code and quote button get wider as I click on it.
This is a great plugin if a user doesn't right click on the options :P. I'm digging in the code and will try to see if I can find a solution. I think the best solution is to prevent the right click from executing an event it shouldn't be. I will try this out.
Bug found on:
Mac OS X 10.9.3 MBP
Browser: Google Chrome Version 35.0.1916.153
Currently emotions' bbcode are only transformed when they are texts. If emotions' bbcode are wrapped in other elements such as "quota", they will not be transformed in getHTML() which does not make sense.
Insert BR in tag after ctrl+c in editor. BR need to be inserted when pressed return button(several BR if needed)
how to use image upload?? do not work upload. not add to bbc code editor.
fix
Many forums uses [list] bbcode like this
[list]
[*]one
[*]two
[list]
But wysibb uses a close tag, like this
[list]
[*]one[/*]
[*]two[/*]
[list]
I was trying to implement the standart way, but i failed. This bbcode doesn't work correctly
numlist : {
title: CURLANG.numlist,
buttonHTML: '<span class="fonticon ve-tlb-numlist1">\uE00a</span>',
excmd: 'insertOrderedList',
transform : {
'<ol>{SELTEXT}</ol>':"[list=1]{SELTEXT}[/list]",
'<li>{SELTEXT}</li>':"[*]{SELTEXT}"
}
},
При добавлении в wbbOpt
format: {
type: 'select',
title: 'Форматирование',
options: "paragraph"
},
paragraph: {
title: 'Параграф',
buttonText: "paragraph1",
excmd: 'format',
exvalue: "1",
transform: {
'
{SELTEXT}
':'[p]{SELTEXT}[/p]'появляется выпадающий список, если выделить текст и нажать в списке "параграф" то в режиме html ничего не сработает, а в bb режиме нормально добавляется.
Text between quotes not inserted.
I think that there is a missing closing tag in this code:
bullist : {
title: CURLANG.bullist,
buttonHTML: '',
excmd: 'insertUnorderedList',
transform : {
'
I think that this code should be replaced with
bullist : {
title: CURLANG.bullist,
buttonHTML: '',
excmd: 'insertUnorderedList',
transform : {
'
This missing close tag made a strange bug when document direction is RTL .
Когда в режиме bbcode переходим в тег code кнопки остаются активными, хотя не в режиме bbcode они отключаются.
error on double quote for punbb.
try this to post.
[quote]tes[quote]ter[/quote][/quote]
affter im post, the code html for preview will work, but if im edit again the code quote was missing.
T__T
RT
Convert selected image url to img, when img button click.
removeFormat: "Remove Format",
$("any-type-of-dom-node").wysibb()
will load the node value / innerHTML to the editor
Не безопасно сохранять сразу html в базу, по этому я решил брать bb код и парсить его, всё работает нормально кроме одной вещи: после bb тега [td] редактор вставляет не читаемый символ, который сохраняется как (?).
Скриншот: http://s3.postimg.org/5z4dp84pv/image.png
css hack wysibb-toolbar-container modeSwitch {display:none}
Errow when disable "code" formating.
I have to focus the inserted table, then autoresize start to work
Hi
Is it possible to use multiple wisybb in the same page ?
Please, add mobile devices support.
Tested on iPad 3, iPod 5gen, Android 4.1. All tests failed.
focus the inserted image and click the img button, its URL shows empty
If you don't setup min-height or height of textarea, toolbar will be look very ugly.
See pic: http://prntscr.com/38pcwf
Hello
is it possible to force the focus aftert load wysibb ?
При клике правой кнопкой мыши по изображению оно копируется и вставляется в начало как фоновое изображение.
OS: Linux Mint 13, Браузер: Firefox 15.
При нажатии на кнопки с пустым полем ввода выдаёт ошибку в javascript
Chrome: Uncaught TypeError: Cannot read property 'nodeName' of null
Mozilla (firebug): iFrameBody.lastChild is null
Если для текста задать какой либо размер текста а потом внутри этого текста изменить шрифт то после вкл/выкл BBCode режима fontface становиться частью текста и не влияет на отображение
No content in editor when browser "back" to the page with editor.
Is there a way to edit image size in the editor? Is it too difficult to implement that?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.