Code Monkey home page Code Monkey logo

hesh-wordpress-plugin's People

Contributors

arniebradfo avatar gr8shivam avatar mukhortov avatar ronilaukkarinen avatar rraub avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hesh-wordpress-plugin's Issues

Insert Image/Gallery Broken in 1.7

Heya,

A few of us have left comments on your Wordpress support thread but the latest version has introduced a couple of bugs, one which makes using your plugin very difficult.

  1. Inserting Image/Gallery in text/code mode fails
  2. Pressing "Enter" inserts two new lines, rather than one.

As I don't have 1.6.9 backed up I'll have to deactivate your plugin, but as one of my sites is a code tutorial site I would appreciate (1) being fixed, please.
Thanks so much,

Martin

Selected area is barely seen

First, thank for this great plug-in

In all the themes i tried, the "selected" area is barely seen. This makes the usage of "copy" & "paste" very problematic. Thanks.

Option: keymaps

Add support for CodeMirror's different available keymaps.
Add an option to configure in the advanced panel.

Feature Request: Shortcode highlighting

I really like this plugin but it would be even more useful if you could add highlightling for shortcodes. There are projects where I'm using much more shortcodes then hand written html.

Conflicts with Wordpress 4.9

The plugin works perfectly in Post text highlighting but conflicts with Wordpress 4.9 Syntax Highlighting feature for Theme & Plugin editor.

screen shot 2017-11-20 at 12 37 26 pm

`esc` functionality

what should the esc key do

  • only exit fullscreen, not toggle it
  • exit multiple cursor selection

Conflict with theme visual editor

Thanks for this plugin! I love the syntax highlighting!

But unfortunately it conflicts with the Vamtam theme we are using. Vamtam themes add a their own visual editor tab. When I make changes there and update the page, those changes seem to overwritten by your editor in the text tab. Once I've disabled your plugin, everything works as expected.

Our theme isn't free, unfortunately, so you won't be able to check this, but I would imagine that other, free themes may add their own editor and that the same issue could happen there. Unless, of course, the theme is doing something wrong when the page is saved...

CodeMirror Themes matching WP Theme

Create a theme based on each WP admin theme.

  • There should be a WP Auto option in the themes to match the currently active admin theme.
  • The WP Auto theme should be the default setting.
  • Use screenshots from this theme in the plugin page screenshots.
  • They should appear individually in the list of themes as WP Ectoplasm etc.

Add Various Options

Options for and implementation of Addons:

Autoformat Button

A button that formats the entire page with tabs and the like.

Autoformat demo - this was discontinued, but might be usable

There is a Tidy button on CodePen.io that does somthing similar. The CodePen editors are also an implementation of CodeMirror. How do they do it?

activeline-background?

Win8.1, Firefox 52, Chrome 57, WP 4.7.3 w/plugs disabled.

Can't seem to get a background change on the active line in any of the themes.

Other than that, It Works Great!

Add Text Search

Add the search feature suite from the CodeMirror addons.

Current Workaround:

How to Search/Find with Ctrl/Cmd + F

  1. On an Edit Post page, open the 'Screen Options' tab at the top right of the page.
  2. Make sure the last checkbox 'Enable full-height editor and distraction-free functionality' is checked. This will allow the editor expand to the full length of the content.
  3. Search with Ctrl/Cmd + F

No code windows on init when on WP 3.7.1

If I click "Add New" for a post or page and the if last time I was in "Text" or Code mode the editor tries to default into "Text" mode instead of Visual. Problem is the screen doesn't display the code windows area thing.... yeah bad description I know.

Might just be my install... can you replicate?

Insert image is broken

Hello, when inserting an image with wordpress wysiwig, an error happens and no image displayed.
Problem can be seen in console.
Wordpress version 4.7.1 Browser Chrome MacOS

Make the search feature optional via a setting

I really like this plugin, however the new search feature not as good as Chrome's search. Is there a way to disable the HESH search feature? What about making it optional via a setting?

GitHub Updater Integration problem

I am the developer of GitHub Updater and I see you have added support to this plugin. There is, however, a problem. It is characterized in the more recent comments to this issue, afragen/git-updater#581 (comment)

The problem arises in that the repository name HESH-WordPress-Plugin and dot org’s slug html-editor-syntax-highlighter are not identical. As such, when the plugin is installed via dot org it is placed in a directory wp-content/plugins/html-editor-syntax-highlighter, if it is ever updated using GitHub Updater this will be renamed according to the repository name, wp-content/plugins/HESH-WordPress-Plugin and will never be updatable from dot org again.

My suggestion would be to rename the repository here to match the dot org slug. LMK if you have any questions or issues I can help with.

Also, branch headers are no longer required as the branch is set during an installation via GitHub Updater or during a branch switch.

We need (another) new release

Peter,

There were some more bugs. Can you do another patch release? v1.7.2? Sorry they came a day too late for the other patch.

Thanks,
-James

Bugs found in v2.0-rc

List of issues found in 2.0-rc from the latest "release" branch

  • Large white space appears after the editor window has been resized - GIF screencast
  • Active line isn't highlighted. Also reported in #23
  • When "full-height editor" mode is enabed the editor window shrinks into one line. GIF screencast
  • "Add media" isn't working - GIF screencast
  • Insert link feature ins't working - GIF screencast
  • Broken fullscreen mode with enabed "full-height editor" mode - GIF screencast

ACF Support

Many developers use Advanced Custom Fields to manage themes. Advanced custom fields has a WYSIWYG field that creates one identical to the default editor. The fix would be fairly simple, rather then basing your script off of the ID wp-content-editor-container you can use the CLASS wp-editor-container. I would be happy to edit it myself but your min system makes it difficult.

Limits editor height, thus effectively disabling in-page search

When enabling the plugin, the height of the editor gets limited to a fixed value, so one has to scroll inside a box instead of the scrolling the whole page. For long posts this means most of the content is outside the visible scroll area and thus cannot be searched with in-page search functionality (ctrl/cmd + F).

Browser: Chrome 55.0
Wordpress: 4.5.4
HESH: 1.7.2

Scrollbar appears in middle of text editor

I'm not sure if this is a bug or if its intentional but after updating the plugin to 2.0 I see a scrollbar in the middle of the text editor.

It appears to be caused by overflow: scroll !important; set on .CiodeMirror-Scroll in /wp-content/plugins/html-editor-syntax-highlighter/dist/hesh.css?ver=2.0.0 on line 213.

When I turn off the overflow scroll the text editor looks fine.

scrollbar-error

Добавьте поддержку Emmet

Emmet - архиважное и архиполезное дополнение для любого уважающего себя текстового редактора для разворачивания абривиатур. CodeMirror является таким, поэтому под него @sergeche (Сергей Чикуёнок, автор Emmet) сделал дополнение https://github.com/emmetio/codemirror и вторая версия https://github.com/emmetio/codemirror-plugin

IE 11 Bugs

This is where Internet Explorer bugs will be documented and never fixed

  • the add a link button doesn't insert a link in the right place
  • other things break periodically including:
    • the scroll position is not maintained while adding content with buttons
    • the sticky scroll toolbar doesn't work in 'full height mode'

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.