User Tools

Site Tools


twine_1.4_bugs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
twine_1.4_bugs [2013/12/23 05:50]
l
twine_1.4_bugs [2013/12/30 22:13]
l
Line 16: Line 16:
  
 When editing a passage, the monospace font uses the normal font's font size instead of its own. When editing a passage, the monospace font uses the normal font's font size instead of its own.
 +
 +=====HTML tables=====
 +
 +Putting HTML tables in passages is currently bugged - when a <tr> is created, the browser automatically wraps it in a <​tbody>​ tag, and then puts the <​tr>'​s child code into the <​tbody>​ instead of the <tr>.
 +
 +== Recommendation ==
 +
 +Use the TiddlyWiki table [[syntax]] instead of HTML.
 +
 +===== Importing from HTML =====
 +
 +The "​import from HTML" feature sometimes reads passages incorrectly,​ creating correctly-named and tagged passages with no text.
 +
 +===== Jonah scrolling in IE 8 =====
 +
 +The automatic scrolling in Jonah behaves incorrectly in IE 8.
 +
 +===== Accessing properties of variables =====
 +
 +If a variable has object properties accessed through dot notation (such as an array with .length or .push) then the property will be incorrectly initialised to 0, making it inaccessible.
 +
 +== Makeshift patch ==
 +
 +Access the property through index notation (for instance, $array["​push"​]() instead of the $array.push() notation) until the bug is fixed.
  
 =====Sugarcane sidebar===== =====Sugarcane sidebar=====
Line 54: Line 78:
  
 Use the ''​\''​ line-continuation symbol in place of <<​nobr>>​ in situations where this would be an issue. Use the ''​\''​ line-continuation symbol in place of <<​nobr>>​ in situations where this would be an issue.
 +
 +===== <<​nobr>>​ and multi-line macros =====
 +
 +If a macro tag spans multiple lines (such as one declaring an object or array literal), and is inside a <<​nobr>>,​ the newlines will be converted to zero-width spaces, which are **not** considered whitespace in Javascript, and thus cause an error.
  
 ===== Escaped line breaks vs. obfuscation===== ===== Escaped line breaks vs. obfuscation=====
Line 61: Line 89:
 ===== <<​textinput>>​ ===== ===== <<​textinput>>​ =====
  
-This macro'​s absence is not actually a bug. <<​textinput>>,​ a macro that was added in the Twine 1.3.6 alpha, was removed from the Twine codebase by its author, as it was intended primarily for testing and was never meant for actual end-use. (In Twine 1.4.1, it may be possible to use raw HTML <​input>​ tags to replicate the original functionality of <<​textinput>>,​ with the advantage of allowing more input types than just text boxes.)+This macro'​s absence is not actually a bug. <<​textinput>>,​ a macro that was added in the Twine 1.3.6 alpha, was removed from the Twine codebase by its author, as it was intended primarily for testing and was never meant for actual end-use. (In Twine 1.4.1, it may return by popular demand.)
  
 == Makeshift patch == == Makeshift patch ==
twine_1.4_bugs.txt ยท Last modified: 2017/10/09 20:39 (external edit)