Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Fix HTML content editor #31

Merged
merged 10 commits into from
Jun 28, 2017
Merged

Fix HTML content editor #31

merged 10 commits into from
Jun 28, 2017

Conversation

Trim
Copy link
Member

@Trim Trim commented Jun 27, 2017

This series of patch makes a main cleanup of the HTML content editor:

  • enable back correctly buttons to set color font and background font
  • synchronize constructor and destructor of the XBL widget
  • makes again reliable the XBL widget initialization (Fixes Task HTML editor is stuck some times #28 )

It includes commits from #30 , so it will fixes #29 too.

That was needed as the fix for the initialization modified same files than the one for event contents.

Trim added 10 commits June 27, 2017 10:31
…itor

exchangecalendar <4.0 did a test on existence of an element with id
"todo-entrydate" to decide whether it should display or hide the
HTML content editor.

(this code was in the onLoad() function of calendar-event-dialog.js)

Because of the name of the ID, I misunderstood the test and thought
the HTML editor has to be displayed only for tasks.

This commit fixes the dialog display.
The next one will fix the content saving.
Fix #29: as we know save content to HTML body, we are correctly synced
with exchange server.
As we removed this CSS from event-dialog, the font color and background
color buttons were not any more correctly displayed in the HTML editor.
This ensures us that button are in a ready state when we apply commands
…ue with uninitilized interface

Note that desctructor and constructor were not handling handlers on the same phase.
…ditor

As advised by the "Rapid Application Development with Mozilla" book by
Nigel McFarlane.

Indeed, a tag sole any binding when we use attribute like "display:none"
because a XBL binding requires a frame (styleable area).

Fixes #28
@advancingu advancingu merged commit 103b72f into ec-4.0 Jun 28, 2017
@advancingu advancingu deleted the wip-fix-html-editor branch September 30, 2018 10:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants