开发者

Is there a good javascript WYSIWYG tool that uses absolute positioning?

开发者 https://www.devze.com 2022-12-14 19:32 出处:网络
I\'m building a site where users (with no knowledge of html/css) will custom-design simple static HTML pages.Years ago, I used a CMS that used absolute positioning with drag and drop for designing sta

I'm building a site where users (with no knowledge of html/css) will custom-design simple static HTML pages. Years ago, I used a CMS that used absolute positioning with drag and drop for designing static pages, and it was a fantastically easy UI for anyone to grasp.

I'm wondering if there's a javascript solution for this that I could implement in my new site. It would need the basic bold, italic, font size, image uploads available in someth开发者_JS百科ing like TinyMCE, but I'd also like for elements to be positioned absolutely by the user.

Anyone know of such a solution?

JQuery solutions are fine, since I'm using JQuery anyway on the site. I'd prefer not to have to load in a second framework.


I know of no specific solutions. I wonder if you implement a jquery drag and drop plugin, on the drop you could get the dropped coordinates and dynamically create a CSS file for the dropped element containing those absolute coordinates.


You might want to take a look at the YAML Builder (for inspiration). It's not exactly what you're searching for but it is a WYSIWYG website editor relying heavily on jQuery and jQuery UI. Although, it's built for developers and not for noobs.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号