mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 06:37:10 -04:00
fixed typo, added initial interface with still bullet button
This commit is contained in:
parent
239742e80c
commit
5027ad4c92
3 changed files with 7 additions and 1 deletions
|
@ -5218,7 +5218,7 @@ function OUTER(gscope)
|
|||
}
|
||||
}
|
||||
|
||||
function doInsertUnorderedList(type)
|
||||
function doInsertList(type)
|
||||
{
|
||||
if (!(rep.selStart && rep.selEnd))
|
||||
{
|
||||
|
|
|
@ -120,6 +120,7 @@ var padeditbar = (function()
|
|||
if (cmd == 'bold' || cmd == 'italic' || cmd == 'underline' || cmd == 'strikethrough') ace.ace_toggleAttributeOnSelection(cmd);
|
||||
else if (cmd == 'undo' || cmd == 'redo') ace.ace_doUndoRedo(cmd);
|
||||
else if (cmd == 'insertunorderedlist') ace.ace_doInsertUnorderedList();
|
||||
else if (cmd == 'insertorderedlist') ace.ace_doInsertOrderedList();
|
||||
else if (cmd == 'indent')
|
||||
{
|
||||
if (!ace.ace_doIndentOutdent(false))
|
||||
|
|
|
@ -44,6 +44,11 @@
|
|||
</a>
|
||||
</li>
|
||||
<li class="separator"></li>
|
||||
<li onClick="window.pad&&pad.editbarClick('insertorderedlist');return false;" >
|
||||
<a title="Toggle Ordered List">
|
||||
<div class="buttonicon" style="background-position:0px -34px"></div>
|
||||
</a>
|
||||
</li>
|
||||
<li onClick="window.pad&&pad.editbarClick('insertunorderedlist');return false;" >
|
||||
<a title="Toggle Bullet List">
|
||||
<div class="buttonicon" style="background-position:0px -34px"></div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue