Coder Social home page Coder Social logo

qwe857359351a / ueditor-preview-html Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hauk0101/ueditor-preview-html

0.0 1.0 1.0 3.08 MB

基于百度UEditor富文本编辑器实现H5手机页面的预览效果

CSS 6.31% HTML 5.13% JavaScript 87.47% PHP 1.10%

ueditor-preview-html's Introduction

基于UEditor富文本编辑器实现手机页面预览功能

一个基于UEditor编辑器使用iframe实现的模拟手机页面的预览功能

工程目录说明

1.以下文件夹及文件为实现富文本编辑器及预览等功能的主要内容,其余部分为UEditor自带的源码,本项目选择的是基于PHP+UEditor组合的工程。

|-ueditor-preview-html
	|+css		
	|+images
	|+js
	|-editor.html
	|-preview-h5.html

2.editor.html为项目的主要入口页面。

其中,index.html为UEditor提供的demo入口页面,可做参考。

3.css、images、js为相关资源。

其中,包括了
editor-style.css | editor.html页面的样式
preview-style.css | preview-h5页面的样式
iphone-bg.png | 预览的手机背景图片
editor.js | 实现了editor.html中UEditor初始化、图片上传、手机预览等功能

4.最终实现的预览功能截图如下:

ueditor-preview-html's People

Contributors

hauk0101 avatar

Watchers

 avatar

Forkers

colin01

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.