I am using the "npm" version 7.0.12, and after
bundling the "loleaflet", the "package.json" is modified.
Let's sort permanently so I cannot get contaminated with
something that I did not touch in my source directory files.
Change-Id: I6a1e6d6b3f1b2898288f06de85fc0307b62cbbeb
Signed-off-by: Henry Castro <hcastro@collabora.com>
inserting image background in impress did not work in first try
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: Iaa4134626a20b8852f26d00b4386380ffbb5d259
- or ipad
- vex dialogs examples: shortcuts and help
Reset z-index to be the same as in `main-menu(desktop-only)`:loleaflet/README
Signed-off-by: Pedro Silva <pedro.silva@collabora.com>
Change-Id: Ib9bf635c03312e4302b14d99fc5c461bc0f7fb0d
grid -> container,
for grid handler there were 'top' and 'left' properties missing.
issue appeared when I implemented real grid handler based on positions.
Change-Id: I90d63188b77ec6590123648f8833a387d1463622
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
- Tabs get restyled due to inline button rules
- Improve positions and sizes
- Remove redundant declarations
Signed-off-by: Pedro Silva <pedro.silva@collabora.com>
Change-Id: I65dfdafd0db359ffaeea76e41fa82bb7fd8defe5
Impress: A fix on Clear Direct Formatting attribute
In Impress, the Clear Direct format button sends an uno:SetDefault command while in writer and Calc, the Clear Direct Format button sends an uno:ResetAttribute command.
The bug existed because the uno:SetDefault command was not captured in the Control.TopToolbar.js file.
I added the uno:SetDefault command and set the hidden attribute to true. I also set the hidden attribute of the uno:ResetAttribute to true.
This is to create these Clear Direct Formatting buttons as hidden and show them for their respective documents.
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
Change-Id: I37439a902684f015ffcc8d0a9acde40fec3603d5
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
The expected behavior on mobile in Writer is to have
the text cursor visible after pushing the editing button.
The issue is that the _docLayer is not created before
the initial `invalidatecursor` arrives and it was dropped
because of that. Without the data of this message, the
client code does not display the cursor.
Found by cypress tests, where the timing is bit different.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: If3d7e3d62f1a7996d016654160ffac7153360d3e
problem: in mobile we could resize the column from anywhere in entier header
This caused problem because of the small size we may resize adjacent column
now allow user only to resize from resizing area even if resizing handler are invisible
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I12a071877548dda02a5c6199ade570c74f8dc7ee
Our existing function getValueAsCodePoints() returns an array of
integers that are Unicode code points, as its name says. (Code points
can be larger than 65535, especially for emojis and interesting
scripts). It does not return an array of UTF-16 code units (which are
always less than 65536).
Still, the code used the JavaScript function String.fromCharCode() on
the elements of the returned array. That function expects UTF-16 code
units, and it simply truncates the argument to 16 bits. This obviously
leads to very wrong results.
There is a function String.fromCodePoint() that would work, but it
isn't present in MSIE so we can't use it. Instead, introduce a new
function codePointsToString() that works properly, producing surrogate
pairs as necessary.
Additionally, the code in getValueAsCodePoints() that combines a
surrogate pair to a code point used 0x100000 instead of 0x10000. Had
this code been tested at all, one wonders.
Also, add some more debug output to the affected functions, bypassed
with if (false).
Fixes https://github.com/CollaboraOnline/online/issues/733
Change-Id: Id50d05ac95285edc93f1e3f5a2538a0732186476
Signed-off-by: Tor Lillqvist <tml@collabora.com>
This undoes the plumbing change in
0752631deac1e427294ebec932be6624df220452 for desktop and non-iOS mobile browsers.
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I3452f18ec005a44c06ec7e4d17ede111c7c7e4c0
- set a fixed bottom position only when on calc (due to tabs)
Signed-off-by: Pedro Silva <pedro.silva@collabora.com>
Change-Id: I9f98cdc65e83c06da814fe7b89b43ebbe6760f40
Always call resize update when sidebar modifies the document
the size values, this will cause internal events to update the
document bounds, zoom, etc.
Change-Id: If8efce4b08b96e6156a87f69fe6188cf9d75f5d5
Signed-off-by: Henry Castro <hcastro@collabora.com>