mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-28 17:40:07 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
7fbc5e863e
commit
baeb64cde5
@ -1532,6 +1532,7 @@ var Outline = {
|
||||
// NOTE: we are ignoring the .collapsed attr here
|
||||
parsed = this.__code2html__(data.text, {...data})
|
||||
html.innerHTML =
|
||||
//(parsed.text == '' || parsed.text.endsWith('</pre>')) ?
|
||||
parsed.text == '' ?
|
||||
parsed.text
|
||||
// NOTE: adding a space here is done to prevent the browser
|
||||
@ -1545,6 +1546,7 @@ var Outline = {
|
||||
delete parsed.style
|
||||
} else {
|
||||
html.innerHTML =
|
||||
//(data.text == '' || data.text.endsWith('</pre>')) ?
|
||||
data.text == '' ?
|
||||
data.text
|
||||
// NOTE: adding a space here is done to prevent the browser
|
||||
|
||||
@ -60,6 +60,7 @@ var setup = function(){
|
||||
```
|
||||
- _this seems to be because of a stray `\n` after re-render + `white-space: ...` in the `.view` element..._
|
||||
_...this is logical as we do not render code on load and to on after edit_
|
||||
- narrowed the issue down to `.update(..)` and adding a ' ' to the text...
|
||||
- ways to fix:
|
||||
- semi-active (current):
|
||||
- active mode currently disabled (see: `UPDATE_CODE_SIZE`)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user