Closed (fixed)
Project:
BUEditor
Version:
7.x-1.2
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Sep 2011 at 21:14 UTC
Updated:
29 Sep 2011 at 18:21 UTC
I noticed that the autolist button enters additional lines for list items when enter is keyed at the end of a line. this behavior is not reproduced when the button is copied to BBCode. What's up with that & how can I enable it for the same behavior in BBCOde editor?
Thanks
Comments
Comment #1
ufku commentedAuto list is implemented in %BUEDITOR/library/bue.li.js. It works for only html lists.
For bbcode a similar implementation could be:
You can put this code in a js file and include the path in Editor paths.
Alternatively, you can create a template button to include the javascript code in the page.
Add a button with title
tpl:BBcode Auto List, and content:Comment #2
Ashlar commentedThanks. The js was in the library. I did not realize that it was necessary to provide paths for each editor definition separately. Adding the path fixed the problem.
Comment #3
ufku commented