haxtheweb / issues

Issue queue for hax, haxcms, elmsln, lrnwebcomponents, wcfactory, websites and more.
Apache License 2.0
11 stars 1 forks source link

[hax editor] Math configure settings text invisible, not expandable #2088

Closed whatsacomputertho closed 2 days ago

whatsacomputertho commented 1 month ago

Description

The configure settings for the math element in the Hax editor appear with bright text on a bright background. Furthermore, they cannot be expanded.

I was hoping to be able to write out a LaTeX expression and center it, but this could not be achieved using just the math element on its own. As a workaround, I simply created a new paragraph element, aligned its text to the center, and then created a math element inside the paragraph element. This successfully centered the LaTeX rendering.

Expected Behavior

  1. The configure settings text for the math element should be more visible
  2. The math element should be "centerable" (or if it's just intended to serve as an inline element, that's fine, it can be centered via its parent block element)
whatsacomputertho commented 1 month ago

Screenshot 2024-07-28 190701

btopro commented 1 month ago

Is your expectation that this is a centered block level element with text formatting options for sizing?

btopro commented 1 month ago

https://github.com/haxtheweb/issues/issues/2072

btopro commented 2 days ago

https://github.com/haxtheweb/issues/issues/2146 will resolve this by adding legit latex support as a block level element