I often times find myself writing long sets of notes, say to a book, and the editing toolbar gets far away. Is there a way for the editing toolbar to float, so that as I scroll down the tool bar stays within view. I know the easier answer is to break up the text into smaller tiddlers, but That is not how I work when taking book notes. I might break it up after I take the notes, but until I get everything in, I don't always know what goes where. Thus the long notes just to get the thing in TW5 are a necessary part of my workflow.
.tc-edit-texteditor, .tc-tiddler-preview-preview { max-height:80vh; overflow-y:auto; }
.tc-editor-toolbar {
position: fixed;
z-index: 99;
background-color: rgba(200,200,200,0.3);
padding: 10px 7px 14px 7px;
margin: 0;
bottom: calc(100vh - 24px);
}
.tc-editor-toolbar:hover, .tc-editor-toolbar:focus {
top: 0;
bottom: auto;
}
tag: $:/tags/Stylesheet
.tc-edit-tags {
margin-bottom:12px
}
.tc-editor-toolbar {
position:absolute;
left:0;
width:100%;
font-size:0;
line-height:0;
padding:0;
border:5px solid transparent;
margin-top:-11px; /* pull it up */
Xoutline:1px solid blue; /* remove the X to peek where it all resides */
}
.tc-editor-toolbar:hover {
font-size:1em;
border-color:white;
background:white;
}
.tc-editor-toolbar button {
display:none;
padding:0px;
}
.tc-editor-toolbar:hover button {
display:inline-block;
}
.tc-edit-tags {
margin-bottom:12px
}
.tc-editor-toolbar {
position:sticky;
position: -webkit-sticky;
position: sticky;
top: 0px; /* distance to stick from top, e.g if you use top bar */
left:0;
width:100%;
font-size:0;
line-height:0;
padding:0;
border:5px solid transparent;
margin-top:-11px; /* pull it up */
.tc-editor-toolbar { position:sticky; position: -webkit-sticky; position: sticky; top: 0px; /* distance to stick from top, e.g if you use top bar */ left:0; width:100%;
font-size:.74em;
.tc-edit-texteditor, .tc-tiddler-preview-preview { max-height:80vh; overflow-y:auto; }