Infragistics / livewire

A simple web content editor built with Electron
https://waffle.io/infragistics/livewire
20 stars 9 forks source link

Unable to save file after using toc::[] #124

Closed ig-ealbert closed 6 years ago

ig-ealbert commented 7 years ago
  1. Open xamdoughnutchart-configuring-selection-and-explosion.ja-JP.adoc.
  2. Remove the hardcoded TOC and enter toc::[].
  3. Build-flag the IsSelected property using ifdef::xaml,android[]
  4. Try to save.

Unable to save the file.

Uncaught TypeError: Cannot read property 'wrapTextInComment' of null
    at Object.module.getCurrentMetadataString (C:\Git\livewire\app\modules\files\index.js:178)
    at save (C:\Git\livewire\app\modules\persistence\index.js:164)
    at SubscriptionDefinition.invokeSubscriber (C:\Git\livewire\app\bower_components\postal.js\lib\postal.js:171)
    at C:\Git\livewire\app\bower_components\postal.js\lib\postal.js:541
    at arrayEach (C:\Git\livewire\node_modules\lodash\lodash.js:537)
    at Function.forEach (C:\Git\livewire\node_modules\lodash\lodash.js:9359)
    at Object.publish (C:\Git\livewire\app\bower_components\postal.js\lib\postal.js:540)
    at publish (C:\Git\livewire\app\modules\messenger\index.js:18)
    at Object.menu (C:\Git\livewire\app\modules\messenger\index.js:26)
    at HTMLButtonElement.<anonymous> (C:\Git\livewire\app\modules\toolbars\formatting\index.js:17)
alhalama commented 6 years ago

Do you still reproduce this? If so can you show me?

ig-ealbert commented 6 years ago

@alhalama It seems to work now. I tried getting the version at August 28 (when I submitted the issue), but it works even in there.