Add css id to editor buttons div
This facilitate the processing with beutifulsoup or similar parser
This commit is contained in:
parent
e8423f0874
commit
81b60c6dc4
@ -439,11 +439,11 @@ class Editor(object):
|
||||
self.web.onLoadFinished = self._loadFinished
|
||||
|
||||
topbuts = """
|
||||
<div style="float:left;">
|
||||
<div id="topbutsleft" style="float:left;">
|
||||
<button onclick="pycmd('fields')">%(flds)s...</button>
|
||||
<button onclick="pycmd('cards')">%(cards)s...</button>
|
||||
</div>
|
||||
<div style="float:right;">
|
||||
<div id="topbutsright" style="float:right;">
|
||||
<button tabindex=-1 class=linkb type="button" id=bold onclick="pycmd('bold');return false;"><img class=topbut src="qrc:/icons/text_bold.png"></button>
|
||||
<button tabindex=-1 class=linkb type="button" id=italic onclick="pycmd('italic');return false;"><img class=topbut src="qrc:/icons/text_italic.png"></button>
|
||||
<button tabindex=-1 class=linkb type="button" id=underline onclick="pycmd('underline');return false;"><img class=topbut src="qrc:/icons/text_under.png"></button>
|
||||
|
Loading…
Reference in New Issue
Block a user