#6540 (Resizable text frames in the editor)
by Luc Saffre · in Developers · assigned to Sharif Mehedi
Kokkuvõte
Should be resizable and wrappable like images, but instead of an image they contain text.
Children
Kommentaarid
- 9 kuud, 3 nädalat ago by Sharif Mehedi about #6540 (Resizable text frames in the editor) : And I mark this ticket to ready.
- 9 kuud, 3 nädalat ago by Sharif Mehedi about #6540 (Resizable text frames in the editor) : I have added the textbox style to local.css which I just pushed in lino so that the textbox styles are also visible in publisher.
- 9 kuud, 3 nädalat ago by Sharif Mehedi about #6540 (Resizable text frames in the editor) : We now have tables on a textbox. Just published my changes in react.
- 9 kuud, 3 nädalat ago by Sharif Mehedi in reply to Sharif Mehedi about #6540 (Resizable text frames in the editor) : this is probably a false alert.
- 9 kuud, 3 nädalat ago by Sharif Mehedi about #6540 (Resizable text frames in the editor) (1 reply) : Locally I have tables available on a textbox. but for some reason the table formats (i.e. classnames) are not persisting. Test text box
- 9 kuud, 3 nädalat ago by Luc Saffre in reply to Sharif Mehedi about #6540 (Resizable text frames in the editor) : I'd say yes, try. Afaics a textbox is just a div, so why would it not be able to contain a table?
- 9 kuud, 3 nädalat ago by Sharif Mehedi about #6540 (Resizable text frames in the editor) (1 reply) : A textbox can contain only Block blots (<p> tags) for the moment. I can try to have tables as well.
- 9 kuud, 3 nädalat ago by Luc Saffre about #6540 (Resizable text frames in the editor) : There is no properties dialog for text box where we could specify a class name. Do we want to use the list of ImageFormats also for text boxes? Right now I cannot insert a table into a text box (would that make sense at all?)
- 9 kuud, 3 nädalat ago by Luc Saffre about #6540 (Resizable text frames in the editor) : Works nicely also on my computer. And indeed, the box doesn't float in publisher.
- 9 kuud, 3 nädalat ago by Sharif Mehedi about #6540 (Resizable text frames in the editor) : textbox styles are not available on publisher.
- 9 kuud, 3 nädalat ago by Sharif Mehedi about #6540 (Resizable text frames in the editor) : I've published the solution for this in react.
- 9 kuud, 4 nädalat ago by Luc Saffre about #6540 (Resizable text frames in the editor) : The world is waiting for this...
- 10 kuud ago by Luc Saffre about #6540 (Resizable text frames in the editor) : Maybe not a table but rather a div with a certain class (a customized blot), and have this rendered to quill-blot-formatter. The manipulation would be similar to a text box in LibreOffice writer: double-click to start editing the content, otherwise it behaves like an image object.
- 10 kuud, 1 nädal ago by Luc Saffre about #6540 (Resizable text frames in the editor) : I had a look at lino_react/react/components/quillmodules.tsx, which is a good entry point into Quill customization.
- 10 kuud, 1 nädal ago by Luc Saffre about #6540 (Resizable text frames in the editor) : Maybe a table with only one row and one column. But tables should then be resizable and floatable, like images.
- 10 kuud, 1 nädal ago by Luc Saffre about #6540 (Resizable text frames in the editor) : Created new Ticket #6540 (Resizable text frames in the editor).