-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Styling of the clause block #434
Comments
I think wrapping it in the content control is sufficient. |
@K-Kumar-01 does #432 close this Issue, or is this separate? |
@irmerk This is a bit different, there wasn't a firm discussion on styling so I went with the basic one there which Dan approved at the time since we were focused on conversion. This needs some discussion on how we want it to look. |
Pinging @Michael-Grover on this. |
Hi @K-Kumar-01 , I'm having a bit of trouble understanding this issue, partially because I can't run this locally to see if for myself. Please excuse my many questions: What does "wrapping it in the content control" mean? Can a Microsoft Word user see what content is wrapped in the content control versus what is not? I'm not familiar with the styling constraints on a Microsoft Word plugin. What are some options we have for visually distinguishing a clause from the content around it? My understanding is that the inside of this red box I drew is the clause. Is that correct? What is the grey box, and why does it wrap content that is not part of the clause? As a user I would expect the clause to have something like the gray box wrapped around it. |
@Michael-Grover
Yes a user can see if text is wrapped in content control or not. A border appears around the content wrapped when hovered as shown above.
Not too sure myself. From what I have worked upon, one can try few of the following:
The gray part is the template area.It was implemented by @algomaster99 in his GSoC period. Later, I, @dselman, and @algomaster99 decided to wrap only the clause. But on thinking deeply, there was a problem which I found. That was how to determine which templates are already inserted and bind things. |
@K-Kumar-01 I would suggest looking into popular Word plugins that also differentiate a block of text from the whole document, and see some ways they achieve this. I don't think we should necessarily use styling such as font and size to differentiate clause text, because the author of the document may want their contract to look visually consistent. |
Discussion 🗣
Currently, the transformation of the clause to
OOXML
looks like this.As visible from the image, the clause transformation is not visually distinguishable from the others as in case of
templatemark-dingus
orcontract-editor
.Any ideas on how to distinguish the clause contents present in a template are welcomed.
Context
Raised with relation to the PR #432
The text was updated successfully, but these errors were encountered: